sem.h 333 B

1234567891011121314
  1. struct semid_ds {
  2. struct ipc_perm sem_perm;
  3. time_t sem_otime;
  4. time_t sem_ctime;
  5. #if __BYTE_ORDER == __LITTLE_ENDIAN
  6. unsigned short sem_nsems;
  7. char __sem_nsems_pad[sizeof(time_t)-sizeof(short)];
  8. #else
  9. char __sem_nsems_pad[sizeof(time_t)-sizeof(short)];
  10. unsigned short sem_nsems;
  11. #endif
  12. time_t __unused3;
  13. time_t __unused4;
  14. };