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


Manual Reference Pages  -  LIBOWFAT_IARRAY_GET (3)

NAME

iarray_get - get pointer to nth element in iarray

CONTENTS

Syntax
Description

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 element 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)
Search for    or go to Top of page |  Section 3 |  Main Index


IARRAY_GET (3) -->

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