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_get(3) FreeBSD Library Functions Manual array_get(3)

array_get - get pointer to nth element in array

#include <libowfat/array.h>

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

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

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.

array_allocate(3), array_fail(3), array_start(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.