1ldap_memfree(3LDAP) LDAP Library Functions ldap_memfree(3LDAP)
2
3
4
6 ldap_memfree - free memory allocated by LDAP API functions
7
9 cc -flag ... file ...-lldap [ -library ... ]
10 #include < lber.h>
11 #include < ldap.h>
12
13 void ldap_memfree(void *p
14
15
17 The ldap_memfree() function frees the memory allocated by certain LDAP
18 API functions that do not have corresponding functions to free memory.
19 These functions include ldap_get_dn(3LDAP),
20 ldap_first_attribute(3LDAP), and ldap_next_attribute(3LDAP).
21
22
23 The ldap_memfree() function takes one parameter, p, which is a pointer
24 to the memory to be freed.
25
27 p A pointer to the memory to be freed.
28
29
31 There are no return values for the ldap_memfree() function.
32
34 No errors are defined for the ldap_memfree() function.
35
37 See attributes(5) for descriptions of the following attributes:
38
39
40
41
42 ┌─────────────────────────────┬─────────────────────────────┐
43 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
44 ├─────────────────────────────┼─────────────────────────────┤
45 │Availability │SUNWcsl (32-bit) │
46 ├─────────────────────────────┼─────────────────────────────┤
47 │ │SUNWcslx (64-bit) │
48 ├─────────────────────────────┼─────────────────────────────┤
49 │Interface Stability │Evolving │
50 └─────────────────────────────┴─────────────────────────────┘
51
53 ldap(3LDAP), ldap_first_attribute(3LDAP), ldap_get_dn(3LDAP),
54 ldap_next_attribute(3LDAP), attributes(5)
55
56
57
58SunOS 5.11 6 Jan 2003 ldap_memfree(3LDAP)