fix incorrect base name offset from nftw when pathname ends in slash(es)
[musl.git] / arch / generic / bits / sem.h
blobc629b81ebb2a097b823aae6caac56cf34f2b2dc8
1 struct semid_ds {
2 struct ipc_perm sem_perm;
3 time_t sem_otime;
4 time_t __unused1;
5 time_t sem_ctime;
6 time_t __unused2;
7 #if __BYTE_ORDER == __LITTLE_ENDIAN
8 unsigned short sem_nsems;
9 char __sem_nsems_pad[sizeof(time_t)-sizeof(short)];
10 #else
11 char __sem_nsems_pad[sizeof(time_t)-sizeof(short)];
12 unsigned short sem_nsems;
13 #endif
14 time_t __unused3;
15 time_t __unused4;