1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
15 #include <linux/ipc.h>
17 #define SEM_UNDO 0x1000
31 struct ipc_perm sem_perm;
32 __kernel_time_t sem_otime;
33 __kernel_time_t sem_ctime;
35 struct sem_queue *sem_pending;
36 struct sem_queue **sem_pending_last;
37 struct sem_undo *undo;
38 unsigned short sem_nsems;
41 #include <asm/sembuf.h>
44 unsigned short sem_num;
51 struct semid_ds __user *buf;
52 unsigned short __user *array;
53 struct seminfo __user *__buf;
72 #define SEMMNS (SEMMNI*SEMMSL)