ldap_ber_free man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

ldap_ber_free(3LDAP)	    LDAP Library Functions	  ldap_ber_free(3LDAP)

NAME
       ldap_ber_free - free a BerElement structure from memory

SYNOPSIS
       cc -flag ...  file ...-lldap [ -library ... ]
       #include <ldap.h>

       void ldap_ber_free(BerElement *ber, int freebuf

DESCRIPTION
       You  can make a call to the ldap_ber_free() function to free BerElement
       structures    allocated	  by	 ldap_first_attribute()	    and	    by
       ldap_next_attribute() function calls. When freeing structures allocated
       by  these  functions,  specify  0  for  the   freebuf   argument.   The
       ldap_first_attribute()  and  by	ldap_next_attribute() functions do not
       allocate the extra buffer in the BerElement structure.

       For example, to retrieve attributes from a  search  result  entry,  you
       need  to call the ldap_first_attribute() function. A call to this func‐
       tion  allocates a BerElement structure, which is used to help track the
       current	attribute. When you are done working with the attributes, this
       structure should be freed from memory, if it still exists.

       This function is deprecated . Use the ber_free() function instead.

ATTRIBUTES
       See attributes(5)  for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │system/library (32-bit)	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │			     │SUNWcslx (64-bit)		   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Obsolete			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       ber_free(3LDAP),				  ldap_first_attribute(3LDAP),
       ldap_next_attribute(3LDAP), attributes(5)

SunOS 5.11			  25 Oct 2001		  ldap_ber_free(3LDAP)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net