Shared Memory Example
char *ShareMalloc( int size )
if( (shmId=shmget( IPC_PRIVATE, size, (SHM_R|SHM_W) )) < 0 )
Abort( "Failure on shmget {size is %d}\n", size );
if( (returnPtr=(char*) shmat( shmId, 0, 0 )) == (void*) -1 )
Abort( "Failure on Shared Mem (shmat)" );
shmctl( shmId, IPC_RMID, (struct shmid_ds *) NULL );