Return memory allocated for lock structures
#include <sys/iofunc.h> void iofunc_lock_free( iofunc_lock_list_t* lock, size_t size );
- A pointer to the iofunc_lock_list_t list that you want to free.
- The amount of memory that you want to free.
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() .