home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 202.img / SCO386N2.TD0 / usr / include / sys / align1.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-05-18  |  1.1 KB  |  65 lines

  1. /*
  2.  *    @(#) align1.h 2.2 88/05/18 
  3.  *
  4.  *    Copyright (C) The Santa Cruz Operation, 1984, 1985, 1986, 1987.
  5.  *    Copyright (C) Microsoft Corporation, 1984, 1985, 1986, 1987.
  6.  *    This Module contains Proprietary Information of
  7.  *    The Santa Cruz Operation, Microsoft Corporation
  8.  *    and AT&T, and should be treated as Confidential.
  9.  */
  10.  
  11. /*
  12.  * THIS FILE CONTAINS CODE WHICH IS SPECIFIC TO THE
  13.  * INTEL 80386 CPU AND MAY REQUIRE MODIFICATION
  14.  * WHEN ADAPTING XENIX TO NEW HARDWARE.
  15.  */
  16.  
  17. #ifdef M_I386
  18. #pragma    pack(2)
  19. #endif
  20.  
  21. /*
  22.  *    struct saddr {            
  23.  *        unsigned short    sa_seg;
  24.  *        long        sa_off;
  25.  *    };
  26.  */
  27. struct saddr_286 {            
  28.     unsigned short    sa_seg;
  29.     long        sa_off;
  30. };
  31.  
  32.  
  33. /*
  34.  *    struct stat {
  35.  *        dev_t    st_dev;
  36.  *        ino_t    st_ino;
  37.  *        ushort    st_mode;
  38.  *        short    st_nlink;
  39.  *        ushort    st_uid;
  40.  *        ushort    st_gid;
  41.  *        dev_t    st_rdev;
  42.  *        off_t    st_size;
  43.  *        time_t    st_atime;
  44.  *        time_t    st_mtime;
  45.  *        time_t    st_ctime;
  46.  *    };
  47.  */
  48. struct stat_286 {
  49.     dev_t    st_dev;
  50.     ino_t    st_ino;
  51.     ushort    st_mode;
  52.     short    st_nlink;
  53.     ushort    st_uid;
  54.     ushort    st_gid;
  55.     dev_t    st_rdev;
  56.     off_t    st_size;
  57.     time_t    st_atime;
  58.     time_t    st_mtime;
  59.     time_t    st_ctime;
  60. };
  61.  
  62. #ifdef M_I386
  63. #pragma    pack()
  64. #endif
  65.