1 .TH LBER_MEMORY 3 "2008/07/16" "OpenLDAP 2.4.11"
2 .\" $OpenLDAP: pkg/ldap/doc/man/man3/lber-memory.3,v 1.14.2.3 2008/02/11 23:26:39 kurt Exp $
3 .\" Copyright 1998-2008 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 ber_memalloc, ber_memcalloc, ber_memrealloc, ber_memfree, ber_memvfree \- OpenLDAP LBER memory allocators
8 OpenLDAP LBER (liblber, -llber)
12 .BI "void *ber_memalloc(ber_len_t " bytes ");"
14 .BI "void *ber_memcalloc(ber_len_t " nelems ", ber_len_t " bytes ");"
16 .BI "void *ber_memrealloc(void *" ptr ", ber_len_t " bytes ");"
18 .BI "void ber_memfree(void *" ptr ");"
20 .BI "void ber_memvfree(void **" vec ");"
23 These routines are used to allocate/deallocate memory used/returned
24 by the Lightweight BER library as required by
30 .BR ber_memrealloc (),
33 are used exactly like the standard
39 routines, respectively. The
41 routine is used to free a dynamically allocated array of pointers to
42 arbitrary dynamically allocated objects.
49 .\" Shared Project Acknowledgement Text
50 .B "OpenLDAP Software"
51 is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>.
52 .B "OpenLDAP Software"
53 is derived from University of Michigan LDAP 3.3 Release.