Deleted Added
full compact
sockatmark.3 (108037) sockatmark.3 (108087)
1.\" Copyright (c) 2002 William C. Fenner. All rights reserved.
2.\"
3.\" Redistribution and use in source and binary forms, with or without
4.\" modification, are permitted provided that the following conditions
5.\" are met:
6.\" 1. Redistributions of source code must retain the above copyright
7.\" notice, this list of conditions and the following disclaimer.
8.\" 2. Redistributions in binary form must reproduce the above copyright

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

16.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
18.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
19.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
20.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
21.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
22.\" SUCH DAMAGE.
23.\"
1.\" Copyright (c) 2002 William C. Fenner. All rights reserved.
2.\"
3.\" Redistribution and use in source and binary forms, with or without
4.\" modification, are permitted provided that the following conditions
5.\" are met:
6.\" 1. Redistributions of source code must retain the above copyright
7.\" notice, this list of conditions and the following disclaimer.
8.\" 2. Redistributions in binary form must reproduce the above copyright

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

16.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
18.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
19.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
20.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
21.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
22.\" SUCH DAMAGE.
23.\"
24.\" $FreeBSD: head/lib/libc/net/sockatmark.3 108037 2002-12-18 12:45:11Z ru $
24.\" $FreeBSD: head/lib/libc/net/sockatmark.3 108087 2002-12-19 09:40:28Z ru $
25.\"
26.Dd October 13, 2002
27.Dt SOCKATMARK 3
28.Os
29.Sh NAME
30.Nm sockatmark
31.Nd determine whether the read pointer is at the OOB mark
32.Sh LIBRARY

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

89is set to
90indicate the error.
91.Sh ERRORS
92The
93.Fn sockatmark
94call fails if:
95.Bl -tag -width Er
96.It Bq Er EBADF
25.\"
26.Dd October 13, 2002
27.Dt SOCKATMARK 3
28.Os
29.Sh NAME
30.Nm sockatmark
31.Nd determine whether the read pointer is at the OOB mark
32.Sh LIBRARY

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

89is set to
90indicate the error.
91.Sh ERRORS
92The
93.Fn sockatmark
94call fails if:
95.Bl -tag -width Er
96.It Bq Er EBADF
97The
97.Fa s
98.Fa s
99argument
98is not a valid descriptor.
99.It Bq Er ENOTTY
100is not a valid descriptor.
101.It Bq Er ENOTTY
102The
100.Fa s
103.Fa s
104argument
101is a descriptor for a file, not a socket.
102.El
103.Sh SEE ALSO
104.Xr recv 2 ,
105.Xr send 2
106.Sh HISTORY
107The
108.Fn sockatmark
109function was introduced by
110.St -p1003.1-2001 ,
111to standardize the historical
112.Dv SIOCATMARK
113.Xr ioctl 2 .
114The
115.Er ENOTTY
116error instead of the usual
117.Er ENOTSOCK
118is to match the historical behavior of
119.Dv SIOCATMARK .
105is a descriptor for a file, not a socket.
106.El
107.Sh SEE ALSO
108.Xr recv 2 ,
109.Xr send 2
110.Sh HISTORY
111The
112.Fn sockatmark
113function was introduced by
114.St -p1003.1-2001 ,
115to standardize the historical
116.Dv SIOCATMARK
117.Xr ioctl 2 .
118The
119.Er ENOTTY
120error instead of the usual
121.Er ENOTSOCK
122is to match the historical behavior of
123.Dv SIOCATMARK .