summaryrefslogblamecommitdiff
path: root/arch/powerpc64/bits/sem.h
blob: 558184dbcf8abeaa50ddb7f201016e2207cc36c9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                           
#include <endian.h>

struct semid_ds {
	struct ipc_perm sem_perm;
	time_t sem_otime;
	time_t sem_ctime;
#if __BYTE_ORDER == __BIG_ENDIAN
	unsigned short __pad[3], sem_nsems;
#else
	unsigned short sem_nsems, __pad[3];
#endif
	unsigned long __unused[2];
};