int qShmInit ( const char *  keyfile,
int  keyid,
size_t  size,
bool  ifexistdestroy 
)

Initialize shared-memory

Parameters:
keyfile seed for generating unique IPC key
keyid seed for generating unique IPC key
size size of shared memory
ifexistdestroy set to true to destroy if shared-memory already exists
Returns:
non-negative shared memory identifier if successful, otherwise returns -1

Definition at line 87 of file qShm.c.


Generated on Mon Mar 26 07:00:52 2018 for JSOC_Documentation by  doxygen 1.5.7.1