📄 lber-memory.3
字号:
.TH LBER_MEMORY 3 "RELEASEDATE" "OpenLDAP LDVERSION".\" $OpenLDAP: pkg/ldap/doc/man/man3/lber-memory.3,v 1.12.2.4 2007/01/02 21:43:44 kurt Exp $.\" Copyright 1998-2007 The OpenLDAP Foundation All Rights Reserved..\" Copying restrictions apply. See COPYRIGHT/LICENSE..SH NAMEber_memalloc, ber_memcalloc, ber_memrealloc, ber_memfree, ber_memvfree \- LBER memory allocators.SH LIBRARYOpenLDAP LBER (liblber, -llber).SH SYNOPSIS.B #include <lber.h>.LP.BI "void *ber_memalloc(ber_len_t " bytes ");".LP.BI "void *ber_memcalloc(ber_len_t " nelems ", ber_len_t " bytes ");".LP.BI "void *ber_memrealloc(void *" ptr ", ber_len_t " bytes ");".LP.BI "void ber_memfree(void *" ptr ");".LP.BI "void ber_memvfree(void **" vec ");".SH DESCRIPTION.LPThese routines are used to allocate/deallocate memory used/returnedby the Lightweight BER library as required by.BR lber-encode (3)and.BR lber-decode (3)..BR ber_memalloc (),.BR ber_memcalloc (),.BR ber_memrealloc (),and.BR ber_memfree ()are used exactly like the standard.BR malloc (3),.BR calloc (3),.BR realloc (3),and.BR free (3)routines, respectively. The.BR ber_memvfree ()routine is used to free a dynamically allocated array of pointers toarbitrary dynamically allocated objects..SH SEE ALSO.BR lber-decode (3),.BR lber-encode (3),.BR lber-types (3).LP.SH ACKNOWLEDGEMENTS.B OpenLDAPis developed and maintained by The OpenLDAP Project (http://www.openldap.org/)..B OpenLDAPis derived from University of Michigan LDAP 3.3 Release.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -