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

  1. /*
  2.  *    @(#) align2.h 2.1 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 msqid_ds {
  23.  *        struct ipc_perm    msg_perm;
  24.  *        struct msg near *msg_first;
  25.  *        struct msg near *msg_last;
  26.  *        ushort        msg_cbytes;
  27.  *        ushort        msg_qnum;
  28.  *        ushort        msg_qbytes;
  29.  *        ushort        msg_lspid;
  30.  *        ushort        msg_lrpid;
  31.  *        time_t        msg_stime;
  32.  *        time_t        msg_rtime;
  33.  *        time_t        msg_ctime;
  34.  *    };
  35.  */
  36. struct msqid_286 {
  37.     struct ipc_perm    msg_perm;
  38.     char        msg_first[2];
  39.     char        msg_last[2];
  40.     ushort        msg_cbytes;
  41.     ushort        msg_qnum;
  42.     ushort        msg_qbytes;
  43.     ushort        msg_lspid;
  44.     ushort        msg_lrpid;
  45.     time_t        msg_stime;
  46.     time_t        msg_rtime;
  47.     time_t        msg_ctime;
  48. };
  49.  
  50. /*
  51.  *    struct semid_ds {
  52.  *        struct ipc_perm    sem_perm;
  53.  *        struct sem near *sem_base;
  54.  *        ushort        sem_nsems;
  55.  *        time_t        sem_otime;
  56.  *        time_t        sem_ctime;
  57.  *    };
  58.  */
  59. struct semid_286 {
  60.     struct ipc_perm    sem_perm;
  61.     char        sem_base[2];
  62.     ushort        sem_nsems;
  63.     time_t        sem_otime;
  64.     time_t        sem_ctime;
  65. };
  66.  
  67. /*
  68.  *    struct    shmid_ds {
  69.  *        struct    ipc_perm shm_perm;
  70.  *        int    shm_segsz;
  71.  *        ushort    shm_ptbl;
  72.  *        ushort    shm_lpid;
  73.  *        ushort    shm_cpid;
  74.  *        ushort    shm_nattch;
  75.  *        ushort    shm_cnattch;
  76.  *        time_t    shm_atime;
  77.  *        time_t    shm_dtime;
  78.  *        time_t    shm_ctime;
  79.  *    };        
  80.  */
  81. struct     shmid_286 {
  82.     struct ipc_perm    shm_perm;
  83.     ushort        shm_segsz;
  84.     ushort        shm_ptbl;
  85.     ushort        shm_lpid;
  86.     ushort        shm_cpid;
  87.     ushort        shm_nattch;
  88.     ushort        shm_cnattch;
  89.     time_t        shm_atime;
  90.     time_t        shm_dtime;
  91.     time_t        shm_ctime;
  92. };
  93.  
  94. #ifdef M_I386
  95. #pragma    pack()
  96. #endif
  97.