Back to index

glibc  2.9
Defines | Functions
shm.h File Reference
#include <features.h>
#include <stddef.h>
#include <sys/ipc.h>
#include <bits/shm.h>
#include <time.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define __need_size_t
#define __need_time_t


__BEGIN_DECLS int shmctl (int __shmid, int __cmd, struct shmid_ds *__buf) __THROW
int shmget (key_t __key, size_t __size, int __shmflg) __THROW
void * shmat (int __shmid, __const void *__shmaddr, int __shmflg) __THROW
int shmdt (__const void *__shmaddr) __THROW

Define Documentation

#define __need_size_t

Definition at line 24 of file shm.h.

#define __need_time_t

Definition at line 34 of file shm.h.

Function Documentation

void* shmat ( int  __shmid,
__const void *  __shmaddr,
int  __shmflg 
__BEGIN_DECLS int shmctl ( int  __shmid,
int  __cmd,
struct shmid_ds __buf 

Definition at line 31 of file shmctl.c.

  return INLINE_SYSCALL (ipc, 5, IPCOP_shmctl, shmid, cmd, 0, CHECK_1 (buf));

Here is the caller graph for this function:

int shmdt ( __const void *  __shmaddr)
int shmget ( key_t  __key,
size_t  __size,
int  __shmflg 

Definition at line 32 of file shmget.c.

  return INLINE_SYSCALL (ipc, 5, IPCOP_shmget, key, size, shmflg, NULL);