Return memory allocated for lock structures
#include <sys/iofunc.h>
void iofunc_lock_free( iofunc_lock_list_t* lock,
size_t size );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The function iofunc_lock_free() frees lock structures allocated by iofunc_lock_calloc().
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |