Go to main content

man pages section 3: Networking Library Functions

Exit Print View

Updated: July 2017
 
 

cldap_close(3LDAP)

Name

cldap_close - dispose of connectionless LDAP pointer

Synopsis

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

void cldap_close(LDAP *ld);

Description

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

Parameters

ld

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

Attributes

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library
Interface Stability
Committed

See Also

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