GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
array_length(3) FreeBSD Library Functions Manual array_length(3)

array_length - get number of allocated members in array

#include <libowfat/array.h>

int64 array_length(array* x,uint64 membersize);

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

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.

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

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.