[Previous] [Contents] [Next]

iofunc_lock_calloc()

Allocate memory to lock structures

Synopsis:

#include <sys/iofunc.h>

iofunc_lock_list_t *iofunc_lock_calloc
                   ( resmgr_context_t *ctp,
                     IOFUNC_OCB_T *ocb,
                     size_t size );

Library:

libc

Description:

The function iofunc_lock_calloc() is used by iofunc_lock() to allocate memory to lock structures.

Returns:

A pointer to a zeroed buffer that the POSIX layer uses for locks, or NULL if no memory could be allocated.

Classification:

QNX 6

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

See also:

iofunc_lock(), iofunc_lock_free()


[Previous] [Contents] [Next]