ksh: build with __EXTENSIONS__ to expose confstr
[unleashed.git] / share / man / man3ldap / ldap_control_free.3ldap
blob15a68d3a42cffe0d8c68555ca6aa07668b80a9f2
1 '\" te
2 .\" Copyright (C) 1990, Regents of the University of Michigan.  All Rights Reserved.
3 .\" Portions Copyright (C) 2002, Sun Microsystems, Inc. All Rights Reserved.
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH LDAP_CONTROL_FREE 3LDAP "Jan 27, 2002"
8 .SH NAME
9 ldap_control_free, ldap_controls_free \- LDAP control disposal
10 .SH SYNOPSIS
11 .LP
12 .nf
13 cc[ \fIflag\fR... ] \fIfile\fR... -lldap[ \fIlibrary\fR... ]
14 #include <lber.h>
15 #include <ldap.h>
17 \fBvoid\fR \fBldap_control_free\fR(\fBLDAPControl\fR \fI*ctrl\fR);
18 .fi
20 .LP
21 .nf
22 \fBvoid\fR \fBldap_controls_free\fR(\fBLDAPControl\fR \fI*ctrls\fR);
23 .fi
25 .SH DESCRIPTION
26 .sp
27 .LP
28 \fBldap_controls_free()\fR and  \fBldap_control_free()\fR are routines which
29 can be used to dispose of a single control or an array of controls allocated by
30 other LDAP APIs.
31 .SH RETURN VALUES
32 .sp
33 .LP
34 None.
35 .SH ERRORS
36 .sp
37 .LP
38 No errors are defined for these functions.
39 .SH ATTRIBUTES
40 .sp
41 .LP
42 See \fBattributes\fR(5) for a description of the following attributes:
43 .sp
45 .sp
46 .TS
47 box;
48 c | c
49 l | l .
50 ATTRIBUTE TYPE  ATTRIBUTE VALUE
51 Interface Stability     Evolving
52 .TE
54 .SH SEE ALSO
55 .sp
56 .LP
57 \fBldap_error\fR(3LDAP), \fBldap_result\fR(3LDAP), \fBattributes\fR(5)