openldap/doc/man/man3/lber-memory.3
2001-08-30 04:54:59 +00:00

44 lines
1015 B
Groff

.TH LBER_MEMORY 3 "29 August 2001" "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 <lber.h>
.ft
.fi
.LP
.nf
.ft B
void * ber_memalloc( ber_len_t bytes )
void * ber_memcalloc( ber_len_t nelems, ber_len_t bytes )
void * ber_memrealloc( void *ptr, ber_len_t bytes);
void ber_memfree( void *ptr );
void ber_memvfree( void **vec );
.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.