ado_shm_free()

Release memory and unlink shared memory

Synopsis:

#include <audio_driver.h>

void ado_shm_free( void *ptr,
                   size_t size,
                   char *name );

Arguments:

ptr
A pointer to the shared memory.
size
The size of the shared memory.
name
The name of the shared memory region.

Description:

The ado_shm_free() function releases the memory at the location ptr and of size size. Additionally, it unlinks the shared memory region of name.

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes

See also:

ado_shm_alloc()