shm

shm

Functions

void * shmat ()
int shmctl ()
int shmdt ()
int shmget ()

Types and Values

#define pid_t
#define size_t
#define shmid_ds
#define SHM_RDONLY

Description

Functions

shmat ()

void *
shmat (int shmid,
       const void *shmaddr,
       int shmflag);

shmctl ()

int
shmctl (int shmid,
        int cmd,
        struct shmid_ds *buf);

shmdt ()

int
shmdt (const void *shmaddr);

shmget ()

int
shmget (key_t key,
        size_t size,
        int shmflag);

Types and Values

pid_t

#define             pid_t

size_t

#define             size_t

shmid_ds

#  define shmid_ds shmid_ds

SHM_RDONLY

# define SHM_RDONLY		010000