1 struct semid_ds { 2 struct ipc_perm sem_perm; 3 unsigned long __sem_otime_lo; 4 unsigned long __sem_otime_hi; 5 unsigned long __sem_ctime_lo; 6 unsigned long __sem_ctime_hi; 7 unsigned short sem_nsems; 8 char __sem_nsems_pad[sizeof(long)-sizeof(short)]; 9 long __unused3; 10 long __unused4; 11 time_t sem_otime; 12 time_t sem_ctime; 13 }; 14