Query: iarray_get
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
iarray_get(3) Library Functions Manual iarray_get(3)NAMEiarray_get - get pointer to nth element in iarraySYNTAX#include <iarray.h> void* iarray_get(iarray* x, size_t pos); iarray x; size_t pos; t* p = iarray_get(&x,pos);DESCRIPTIONiarray_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 VALUEReturn a pointer to the requested element. If there is no such element in the array, returns NULL.SEE ALSOiarray_init(3), iarray_allocate(3), iarray_free(3) iarray_get(3)
Related Man Pages |
---|
lfind(3) - mojave |
lsearch(3) - mojave |
egd_acq_setup(3) - debian |
egd_get_data(3) - debian |
lfind(3) - ultrix |
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
Is UNIX an open source OS ? |
Find columns in a file based on header and print to new file |
My first PERL incarnation... Audio Oscillograph |