shm.h File Reference

API published in:
API deprecated in:


#include <sys/cdefs.h>
#include <sys/ipc.h>
#include <sys/_types.h>

Go to the source code of this file.


Data Structures

struct   shmid_ds

Defines

#define  SHM_RDONLY   010000
#define  SHM_RND   020000
#define  SHMLBA   PAGE_SIZE
#define  SHM_R   (IPC_R)
#define  SHM_W   (IPC_W)
#define  SHM_LOCK   11
#define  SHM_UNLOCK   12
#define  SHM_STAT   13
#define  SHM_INFO   14

Typedefs

typedef __pid_t  pid_t
typedef __time_t  time_t
typedef __size_t  size_t

Functions

__BEGIN_DECLS IMPORT_C int  shmget (key_t key, int size, int shmflg)
IMPORT_C void *  shmat (int shmid, const void *shmaddr, int shmflg)
IMPORT_C int  shmdt (const void *shmaddr)
IMPORT_C int  shmctl (int shmid, int cmd, struct shmid_ds *buf)

Define Documentation

#define SHM_INFO   14
 
#define SHM_LOCK   11
 
#define SHM_R   (IPC_R)
 
#define SHM_RDONLY   010000
 
#define SHM_RND   020000
 
#define SHM_STAT   13
 
#define SHM_UNLOCK   12
 
#define SHM_W   (IPC_W)
 
#define SHMLBA   PAGE_SIZE
 

Typedef Documentation

typedef __pid_t pid_t
 
typedef __size_t size_t
 
typedef __time_t time_t
 

Function Documentation

IMPORT_C void* shmat int  shmid,
const void *  shmaddr,
int  shmflg
 
IMPORT_C int shmctl int  shmid,
int  cmd,
struct shmid_ds buf
 
IMPORT_C int shmdt const void *  shmaddr  ) 
 
__BEGIN_DECLS IMPORT_C int shmget key_t  key,
int  size,
int  shmflg
 

Copyright © Nokia Corporation 2001-2008
Back to top