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 unsigned short sem_nsems; 8 char __sem_nsems_pad[sizeof(long)-sizeof(short)]; 9 long __unused3; 10 long __unused4; 11 }; 12