1 .TH LBER_MEMORY 3 "25 January 2002" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 ber_memalloc, ber_memcalloc, ber_memrealloc, ber_memfree, ber_memvfree \- LBER memory allocators
10 .BI "void *ber_memalloc(ber_len_t " bytes ");"
12 .BI "void *ber_memcalloc(ber_len_t " nelems ", ber_len_t " bytes ");"
14 .BI "void *ber_memrealloc(void *" ptr ", ber_len_t " bytes ");"
16 .BI "void ber_memfree(void *" ptr ");"
18 .BI "void ber_memvfree(void **" vec ");"
21 These routines are used to allocate/deallocate memory used/returned
22 by the Lightweight BER library as required by
28 .BR ber_memrealloc (),
31 are used exactly like the standard
37 routines, respectively. The
39 routine is used to free a dynamically allocated array of pointers to
40 arbitrary dynamically allocated objects.
48 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
50 is derived from University of Michigan LDAP 3.3 Release.