array_length 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_length(3)						       array_length(3)

NAME
       array_length - get number of allocated members in array

SYNTAX
       #include <array.h>

       int64 array_length(array* x,uint64 membersize);

	 array x;
	 int64 members = array_length(&x,sizeof(t));

DESCRIPTION
       array_length  returns  the number of initialized bytes in x, divided by
       the size of t. In other words, array_get will succeed for  positions  0
       through array_length-1; it will fail for position array_length.

       If x is unallocated, array_length and array_bytes return 0.

SEE ALSO
       array_allocate(3), array_get(3), array_fail(3), array_bytes(3)

							       array_length(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