ck_array_initialized (3) - Linux Manuals

ck_array_initialized: indicates whether an array was recently initialized or deinitialized

NAME

ck_array_initialized - indicates whether an array was recently initialized or deinitialized

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

In ck_array.h Ft bool Fn ck_array_initialized ck_array_t *array

DESCRIPTION

The Fn ck_array_initialized 3 can be used to determine whether an array was recently initialized with Fn ck_array_init 3 or deinitialized with Fn ck_array_deinit 3 . Behavior is undefined if a user allocates internal allocator data in through other means.

RETURN VALUES

This function returns true if the array is initialized, and false otherwise.

SEE ALSO

ck_array_commit3, ck_array_put3, ck_array_put_unique3, ck_array_remove3, ck_array_init3 ck_array_deinit3, ck_array_length3, ck_array_buffer3, CK_ARRAY_FOREACH3

Additional information available at http://concurrencykit.org/