home *** CD-ROM | disk | FTP | other *** search
- /*
- * @(#) align2.h 2.1 88/05/18
- *
- * Copyright (C) The Santa Cruz Operation, 1984, 1985, 1986, 1987.
- * Copyright (C) Microsoft Corporation, 1984, 1985, 1986, 1987.
- * This Module contains Proprietary Information of
- * The Santa Cruz Operation, Microsoft Corporation
- * and AT&T, and should be treated as Confidential.
- */
-
- /*
- * THIS FILE CONTAINS CODE WHICH IS SPECIFIC TO THE
- * INTEL 80386 CPU AND MAY REQUIRE MODIFICATION
- * WHEN ADAPTING XENIX TO NEW HARDWARE.
- */
-
- #ifdef M_I386
- #pragma pack(2)
- #endif
-
- /*
- * struct msqid_ds {
- * struct ipc_perm msg_perm;
- * struct msg near *msg_first;
- * struct msg near *msg_last;
- * ushort msg_cbytes;
- * ushort msg_qnum;
- * ushort msg_qbytes;
- * ushort msg_lspid;
- * ushort msg_lrpid;
- * time_t msg_stime;
- * time_t msg_rtime;
- * time_t msg_ctime;
- * };
- */
- struct msqid_286 {
- struct ipc_perm msg_perm;
- char msg_first[2];
- char msg_last[2];
- ushort msg_cbytes;
- ushort msg_qnum;
- ushort msg_qbytes;
- ushort msg_lspid;
- ushort msg_lrpid;
- time_t msg_stime;
- time_t msg_rtime;
- time_t msg_ctime;
- };
-
- /*
- * struct semid_ds {
- * struct ipc_perm sem_perm;
- * struct sem near *sem_base;
- * ushort sem_nsems;
- * time_t sem_otime;
- * time_t sem_ctime;
- * };
- */
- struct semid_286 {
- struct ipc_perm sem_perm;
- char sem_base[2];
- ushort sem_nsems;
- time_t sem_otime;
- time_t sem_ctime;
- };
-
- /*
- * struct shmid_ds {
- * struct ipc_perm shm_perm;
- * int shm_segsz;
- * ushort shm_ptbl;
- * ushort shm_lpid;
- * ushort shm_cpid;
- * ushort shm_nattch;
- * ushort shm_cnattch;
- * time_t shm_atime;
- * time_t shm_dtime;
- * time_t shm_ctime;
- * };
- */
- struct shmid_286 {
- struct ipc_perm shm_perm;
- ushort shm_segsz;
- ushort shm_ptbl;
- ushort shm_lpid;
- ushort shm_cpid;
- ushort shm_nattch;
- ushort shm_cnattch;
- time_t shm_atime;
- time_t shm_dtime;
- time_t shm_ctime;
- };
-
- #ifdef M_I386
- #pragma pack()
- #endif
-