array_get man page on Alpinelinux

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

array_get(3)							  array_get(3)

NAME
       array_get - get pointer to nth element in array

SYNTAX
       #include <array.h>

       void* array_get(array* x, uint64 membersize, int64 pos);

	 array x;
	 int64 pos;
	 t* p = array_get(&x,sizeof(t),pos);

DESCRIPTION
       array_get  is  similar  to array_allocate, but it does not allocate any
       extra bytes, and it does not initialize any extra bytes.	 It returns  0
       if  x  is  unallocated, for example, or if fewer than (pos+1)*sizeof(t)
       bytes are initialized.

SEE ALSO
       array_allocate(3), array_fail(3), array_start(3)

								  array_get(3)
[top]

List of man pages available for Alpinelinux

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