CLDAP_CLOSE(3LDAP) LDAP Library Functions CLDAP_CLOSE(3LDAP)

cldap_close - dispose of connectionless LDAP pointer

cc[ flag... ] file... -lldap[ library... ]
#include <lber.h>
#include <ldap.h>
void cldap_close(LDAP *ld);

The cldap_close() function disposes of memory allocated by cldap_open(3LDAP). It should be called when all CLDAP communication is complete.

ld

The LDAP pointer returned by a previous call to cldap_open(3LDAP).

See attributes(7) for a description of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Evolving

cldap_open(3LDAP), cldap_search_s(3LDAP), cldap_setretryinfo(3LDAP), ldap(3LDAP)

January 27, 2002 OmniOS