Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

sharedmem.h File Reference

#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/sem.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "alloc.h"

Go to the source code of this file.

Compounds

union  semun

Functions

int CreateSem (int key)
int ShmSemLock (int key)
int ShmSemUnlock (int key)
void DeleteShm (int key)
void PutIntoShm (int key, unsigned char *data, int size, int lockkey=0)
void GetFromShm (int key, unsigned char **dataptr, int *size, int lockkey=0)
void DeleteSem (int key)


Function Documentation

int CreateSem int    key [inline]
 

void DeleteSem int    key [inline]
 

void DeleteShm int    key [inline]
 

void GetFromShm int    key,
unsigned char **    dataptr,
int *    size,
int    lockkey = 0
[inline]
 

void PutIntoShm int    key,
unsigned char *    data,
int    size,
int    lockkey = 0
[inline]
 

int ShmSemLock int    key [inline]
 

int ShmSemUnlock int    key [inline]
 


Generated on Sun Jun 16 17:36:43 2002 for Anirudh's Vortex-Wake Simulation Code by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001