libowfat_iarray_get man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

iarray_get(3)							 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 ele‐
       ment 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)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net