sem.h 359 B

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