Deleted Added
full compact
acl_dup.3 (108412) acl_dup.3 (131504)
1.\"-
2.\" Copyright (c) 2000, 2002 Robert N. M. Watson
3.\" All rights reserved.
4.\"
5.\" This software was developed by Robert Watson for the TrustedBSD Project.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
1.\"-
2.\" Copyright (c) 2000, 2002 Robert N. M. Watson
3.\" All rights reserved.
4.\"
5.\" This software was developed by Robert Watson for the TrustedBSD Project.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" $FreeBSD: head/lib/libc/posix1e/acl_dup.3 108412 2002-12-29 20:52:42Z rwatson $
28.\" $FreeBSD: head/lib/libc/posix1e/acl_dup.3 131504 2004-07-02 23:52:20Z ru $
29.\"
30.Dd January 28, 2000
31.Dt ACL_DUP 3
32.Os
33.Sh NAME
34.Nm acl_dup
35.Nd duplicate an ACL
36.Sh LIBRARY

--- 4 unchanged lines hidden (view full) ---

41.Ft acl_t
42.Fn acl_dup "acl_t acl"
43.Sh DESCRIPTION
44The
45.Fn acl_dup
46function returns a pointer to a copy of the ACL pointed to by the argument
47.Va acl .
48.Pp
29.\"
30.Dd January 28, 2000
31.Dt ACL_DUP 3
32.Os
33.Sh NAME
34.Nm acl_dup
35.Nd duplicate an ACL
36.Sh LIBRARY

--- 4 unchanged lines hidden (view full) ---

41.Ft acl_t
42.Fn acl_dup "acl_t acl"
43.Sh DESCRIPTION
44The
45.Fn acl_dup
46function returns a pointer to a copy of the ACL pointed to by the argument
47.Va acl .
48.Pp
49This function may cause memory to be allocated. The caller should free any
49This function may cause memory to be allocated.
50The caller should free any
50releasable memory, when the new ACL is no longer required, by calling
51.Xr acl_free 3
52with the
53.Va (void*)acl_t
54as an argument.
55.Pp
56Any existing ACL pointers that refer to the ACL referred to by
57.Va acl
58shall continue to refer to the ACL.
59.Sh IMPLEMENTATION NOTES
60.Fx Ns 's
61support for POSIX.1e interfaces and features is still under
62development at this time.
63.Sh RETURN VALUES
64Upon successful completion, this function shall return a pointer to the
51releasable memory, when the new ACL is no longer required, by calling
52.Xr acl_free 3
53with the
54.Va (void*)acl_t
55as an argument.
56.Pp
57Any existing ACL pointers that refer to the ACL referred to by
58.Va acl
59shall continue to refer to the ACL.
60.Sh IMPLEMENTATION NOTES
61.Fx Ns 's
62support for POSIX.1e interfaces and features is still under
63development at this time.
64.Sh RETURN VALUES
65Upon successful completion, this function shall return a pointer to the
65duplicate ACL. Otherwise, a value of
66duplicate ACL.
67Otherwise, a value of
66.Va (acl_t)NULL
67shall be returned, and
68.Va errno
69shall be set to indicate the error.
70.Sh ERRORS
71If any of the following conditions occur, the
72.Fn acl_init
73function shall return a value of

--- 13 unchanged lines hidden (view full) ---

87system-imposed memory management constraints.
88.El
89.Sh SEE ALSO
90.Xr acl 3 ,
91.Xr acl_free 3 ,
92.Xr acl_get 3 ,
93.Xr posix1e 3
94.Sh STANDARDS
68.Va (acl_t)NULL
69shall be returned, and
70.Va errno
71shall be set to indicate the error.
72.Sh ERRORS
73If any of the following conditions occur, the
74.Fn acl_init
75function shall return a value of

--- 13 unchanged lines hidden (view full) ---

89system-imposed memory management constraints.
90.El
91.Sh SEE ALSO
92.Xr acl 3 ,
93.Xr acl_free 3 ,
94.Xr acl_get 3 ,
95.Xr posix1e 3
96.Sh STANDARDS
95POSIX.1e is described in IEEE POSIX.1e draft 17. Discussion
97POSIX.1e is described in IEEE POSIX.1e draft 17.
98Discussion
96of the draft continues on the cross-platform POSIX.1e implementation
99of the draft continues on the cross-platform POSIX.1e implementation
97mailing list. To join this list, see the
100mailing list.
101To join this list, see the
98.Fx
99POSIX.1e implementation
100page for more information.
101.Sh HISTORY
102POSIX.1e support was introduced in
103.Fx 4.0 ,
104and development continues.
105.Sh AUTHORS
106.An Robert N M Watson
102.Fx
103POSIX.1e implementation
104page for more information.
105.Sh HISTORY
106POSIX.1e support was introduced in
107.Fx 4.0 ,
108and development continues.
109.Sh AUTHORS
110.An Robert N M Watson