sem.h 415 B

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