iarray_get(3) debian man page | unix.com

Man Page: iarray_get

Operating Environment: debian

Section: 3

iarray_get(3)						     Library Functions Manual						     iarray_get(3)

NAME
iarray_get - get pointer to nth element in iarray
SYNTAX
#include <iarray.h> void* iarray_get(iarray* x, size_t pos); iarray x; size_t pos; t* p = iarray_get(&x,pos);
DESCRIPTION
iarray_get is similar to iarray_allocate, but it only works if the element has previously been allocated. If the element in the iarray is not there, this function will fail instead of manipulating the iarray. This also guarantees that there will be no locks, so this function returns in a deterministic time.
RETURN VALUE
Return a pointer to the requested element. If there is no such element in the array, returns NULL.
SEE ALSO
iarray_init(3), iarray_allocate(3), iarray_free(3) iarray_get(3)
Related Man Pages
lfind(3) - mojave
array_allocate(3) - debian
lsearch(3) - osx
lfind(3) - freebsd
tangram::type::array::fromone(3pm) - debian
Similar Topics in the Unix Linux Community
How can I do this in VI editor?
Detecting unused variables...
Weird 'find' results
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections