]> git.sur5r.net Git - openldap/blob - doc/man/man3/lber-memory.3
bea0de4e658ea2ffc2758ec4855cd2fb31c997f4
[openldap] / doc / man / man3 / lber-memory.3
1 .TH LBER_MEMORY 3 "29 August 2001" "OpenLDAP LDVERSION"
2 .\" $OpenLDAP$
3 .\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
5 .SH NAME
6 ber_memalloc, ber_memcalloc, ber_memrealloc, ber_memfree \- LBER memory allocators
7 .SH SYNOPSIS
8 .nf
9 .ft B
10 #include <lber.h>
11 .ft
12 .fi
13 .LP
14 .nf
15 .ft B
16 void * ber_memalloc( ber_len_t bytes )
17
18 void * ber_memcalloc( ber_len_t nelems, ber_len_t bytes )
19
20 void * ber_memrealloc( void *ptr, ber_len_t bytes);
21
22 void ber_memfree( void *ptr );
23
24 void ber_memvfree( void **vec );
25 .ft
26 .fi
27 .SH DESCRIPTION
28 .LP
29 These routines are used to allocate/deallocate memory used/returned
30 by the Lightweight BER library as required by
31 .BR lber-encode (3)
32 and
33 .BR lber-decode (3).
34 .SH SEE ALSO
35 .BR lber-decode (3)
36 .BR lber-encode (3)
37 .BR lber-types (3)
38 .LP
39 .SH ACKNOWLEDGEMENTS
40 .B      OpenLDAP
41 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
42 .B      OpenLDAP
43 is derived from University of Michigan LDAP 3.3 Release.