xref: /aosp_15_r20/prebuilts/build-tools/sysroots/aarch64-unknown-linux-musl/include/bits/sem.h (revision cda5da8d549138a6648c5ee6d7a49cf8f4a657be)
1*cda5da8dSAndroid Build Coastguard Worker struct semid_ds {
2*cda5da8dSAndroid Build Coastguard Worker 	struct ipc_perm sem_perm;
3*cda5da8dSAndroid Build Coastguard Worker 	time_t sem_otime;
4*cda5da8dSAndroid Build Coastguard Worker 	time_t sem_ctime;
5*cda5da8dSAndroid Build Coastguard Worker #if __BYTE_ORDER == __LITTLE_ENDIAN
6*cda5da8dSAndroid Build Coastguard Worker 	unsigned short sem_nsems;
7*cda5da8dSAndroid Build Coastguard Worker 	char __sem_nsems_pad[sizeof(long)-sizeof(short)];
8*cda5da8dSAndroid Build Coastguard Worker #else
9*cda5da8dSAndroid Build Coastguard Worker 	char __sem_nsems_pad[sizeof(long)-sizeof(short)];
10*cda5da8dSAndroid Build Coastguard Worker 	unsigned short sem_nsems;
11*cda5da8dSAndroid Build Coastguard Worker #endif
12*cda5da8dSAndroid Build Coastguard Worker 	long __unused3;
13*cda5da8dSAndroid Build Coastguard Worker 	long __unused4;
14*cda5da8dSAndroid Build Coastguard Worker };
15