|
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.
|