.TH LBER_MEMORY 3 "12 July 2000" "OpenLDAP LDVERSION" .\" $OpenLDAP$ .\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved. .\" Copying restrictions apply. See COPYRIGHT/LICENSE. .SH NAME ber_memalloc, ber_memcalloc, ber_memrealloc, ber_memfree \- LBER memory allocators .SH SYNOPSIS .nf .ft B #include .ft .fi .LP .nf .ft B void * ber_memalloc( ber_len_t bytes ) .ft .fi .LP .nf .ft B void * ber_memcalloc( ber_len_t nelems, ber_len_t bytes ) .ft .fi .LP .nf .ft B void * ber_memrealloc( void \(**ptr, ber_len_t bytes); .ft .fi .LP .nf .ft B void * ber_memfree( void \(**ptr ); .ft .fi .SH DESCRIPTION .LP These routines are used to allocate/deallocate memory used/returned by the Lightweight BER library as required by .BR lber-encode (3) and .BR lber-decode (3). .SH SEE ALSO .BR lber-decode (3) .BR lber-encode (3) .BR lber-types (3) .LP .SH ACKNOWLEDGEMENTS .B OpenLDAP is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). .B OpenLDAP is derived from University of Michigan LDAP 3.3 Release.