2016-04-18 05:19:13 +00:00
|
|
|
struct semid_ds {
|
|
|
|
struct ipc_perm sem_perm;
|
|
|
|
time_t sem_otime;
|
|
|
|
time_t sem_ctime;
|
|
|
|
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
|
|
|
unsigned short sem_nsems;
|
2019-07-29 22:03:41 +00:00
|
|
|
char __sem_nsems_pad[sizeof(long)-sizeof(short)];
|
2016-04-18 05:19:13 +00:00
|
|
|
#else
|
2019-07-29 22:03:41 +00:00
|
|
|
char __sem_nsems_pad[sizeof(long)-sizeof(short)];
|
2016-04-18 05:19:13 +00:00
|
|
|
unsigned short sem_nsems;
|
|
|
|
#endif
|
2019-07-29 22:03:41 +00:00
|
|
|
long __unused3;
|
|
|
|
long __unused4;
|
2016-04-18 05:19:13 +00:00
|
|
|
};
|