Back to index

glibc  2.9
Classes | Functions
semctl.c File Reference
#include <errno.h>
#include <stdarg.h>
#include <sys/sem.h>
#include <ipc_priv.h>
#include <sysdep.h>
#include <string.h>
#include <sys/syscall.h>
#include <shlib-compat.h>
#include <kernel-features.h>
#include <bp-checks.h>
#include <bp-semctl.h>

Go to the source code of this file.


struct  __old_semid_ds
union  semun


int __new_semctl (int semid, int semnum, int cmd,...)
 versioned_symbol (libc, __new_semctl, semctl, GLIBC_2_2)

Class Documentation

struct __old_semid_ds

Definition at line 32 of file semctl.c.

Class Members
struct sem_queue * __sem_pending
struct sem_queue *__unbounded __sem_pending
struct sem_queue * __sem_pending_last
struct sem_queue *__unbounded __sem_pending_last
struct sem * __sembase
struct sem *__unbounded __sembase
struct sem_undo * __undo
struct sem_undo *__unbounded __undo
__time_t sem_ctime
unsigned short int sem_nsems
__time_t sem_otime
union semun

Definition at line 26 of file semctl.c.

Collaboration diagram for semun:
Class Members
struct seminfo * __buf
struct __old_semid_ds * __old_buf
unsigned short int * array
struct semid_ds * buf
int val

Function Documentation

int __new_semctl ( int  semid,
int  semnum,
int  cmd,
versioned_symbol ( libc  ,
__new_semctl  ,
semctl  ,