Deleted Added
full compact
sctp_peeloff.2 (233462) sctp_peeloff.2 (233648)
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" $FreeBSD: head/lib/libc/sys/sctp_peeloff.2 233462 2012-03-25 12:13:24Z joel $
32.\" $FreeBSD: head/lib/libc/sys/sctp_peeloff.2 233648 2012-03-29 05:02:12Z eadler $
33.\"
34.Dd October 30, 2007
35.Dt SCTP_PEELOFF 2
36.Os
37.Sh NAME
38.Nm sctp_peeloff
39.Nd detach an association from a one-to-many socket to its own fd
40.Sh LIBRARY

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

55The call returns -1 on failure and the new socket descriptor
56upon success.
57.Sh ERRORS
58The
59.Fn sctp_peeloff
60system call can return the following errors:
61.Bl -tag -width Er
62.It Bq Er ENOTCONN
33.\"
34.Dd October 30, 2007
35.Dt SCTP_PEELOFF 2
36.Os
37.Sh NAME
38.Nm sctp_peeloff
39.Nd detach an association from a one-to-many socket to its own fd
40.Sh LIBRARY

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

55The call returns -1 on failure and the new socket descriptor
56upon success.
57.Sh ERRORS
58The
59.Fn sctp_peeloff
60system call can return the following errors:
61.Bl -tag -width Er
62.It Bq Er ENOTCONN
63The
63The
64.Fa id
65given to the call does not map to a valid
66association.
67.It Bq Er E2BIG
68The size of the address list exceeds the amount of
69data provided.
70.It Bq Er EBADF
71The argument
72.Fa s
73is not a valid descriptor.
74.It Bq Er ENOTSOCK
75The argument
76.Fa s
77is not a socket.
78.El
79.Sh SEE ALSO
80.Xr sctp 4
64.Fa id
65given to the call does not map to a valid
66association.
67.It Bq Er E2BIG
68The size of the address list exceeds the amount of
69data provided.
70.It Bq Er EBADF
71The argument
72.Fa s
73is not a valid descriptor.
74.It Bq Er ENOTSOCK
75The argument
76.Fa s
77is not a socket.
78.El
79.Sh SEE ALSO
80.Xr sctp 4