PgShmemDestroy()

Remove a block of shared memory

Synopsis:

int PgShmemDestroy( void *addr );

Library:

ph

Description:

This function removes a block of shared memory created with PgShmemCreate(). The block is referenced by the address returned from PgShmemCreate().

Returns:

0
Successful completion.
-1
An error occurred (errno will be set).

Errors:

See the errors for shm_unlink() in the QNX Neutrino Library Reference.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PgShmemCreate()