Back to index

glibc  2.9
Classes | Defines
sem.h File Reference
#include <sys/types.h>

Go to the source code of this file.

Classes

struct  semid_ds

Defines

#define SEM_UNDO   0x1000 /* undo the operation on exit */
#define GETPID   11 /* get sempid */
#define GETVAL   12 /* get semval */
#define GETALL   13 /* get all semval's */
#define GETNCNT   14 /* get semncnt */
#define GETZCNT   15 /* get semzcnt */
#define SETVAL   16 /* set semval */
#define SETALL   17 /* set all semval's */
#define _SEM_SEMUN_UNDEFINED   1

Class Documentation

struct semid_ds

Definition at line 40 of file sem.h.

Class Members
struct __sem_queue * __sem_pending
struct __sem_queue * __sem_pending_last
struct sem * __sembase
struct __sem_undo * __undo
unsigned long int __unused1
unsigned long int __unused2
unsigned long int __unused3
unsigned long __unused3
unsigned long int __unused4
unsigned long __unused4
__time_t sem_ctime
unsigned short int sem_nsems
unsigned long int sem_nsems
__time_t sem_otime

Define Documentation

#define _SEM_SEMUN_UNDEFINED   1

Definition at line 65 of file sem.h.

#define GETALL   13 /* get all semval's */

Definition at line 33 of file sem.h.

#define GETNCNT   14 /* get semncnt */

Definition at line 34 of file sem.h.

#define GETPID   11 /* get sempid */

Definition at line 31 of file sem.h.

#define GETVAL   12 /* get semval */

Definition at line 32 of file sem.h.

#define GETZCNT   15 /* get semzcnt */

Definition at line 35 of file sem.h.

#define SEM_UNDO   0x1000 /* undo the operation on exit */

Definition at line 28 of file sem.h.

#define SETALL   17 /* set all semval's */

Definition at line 37 of file sem.h.

#define SETVAL   16 /* set semval */

Definition at line 36 of file sem.h.