Deleted Added
full compact
getsockopt.2 (22993) getsockopt.2 (23660)
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.\" @(#)getsockopt.2 8.3 (Berkeley) 4/19/94
33.\" $Id$
32.\" @(#)getsockopt.2 8.4 (Berkeley) 5/2/95
33.\" $Id: getsockopt.2,v 1.8 1997/02/22 15:03:53 peter Exp $
34.\"
34.\"
35.Dd November 3, 1995
35.Dd May 2, 1995
36.Dt GETSOCKOPT 2
37.Os BSD 4.3r
38.Sh NAME
39.Nm getsockopt ,
40.Nm setsockopt
41.Nd get and set options on sockets
42.Sh SYNOPSIS
43.Fd #include <sys/types.h>

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

188.Xr close 2
189is performed.
190If the socket promises reliable delivery of data and
191.Dv SO_LINGER is set,
192the system will block the process on the
193.Xr close 2
194attempt until it is able to transmit the data or until it decides it
195is unable to deliver the information (a timeout period, termed the
36.Dt GETSOCKOPT 2
37.Os BSD 4.3r
38.Sh NAME
39.Nm getsockopt ,
40.Nm setsockopt
41.Nd get and set options on sockets
42.Sh SYNOPSIS
43.Fd #include <sys/types.h>

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

188.Xr close 2
189is performed.
190If the socket promises reliable delivery of data and
191.Dv SO_LINGER is set,
192the system will block the process on the
193.Xr close 2
194attempt until it is able to transmit the data or until it decides it
195is unable to deliver the information (a timeout period, termed the
196linger interval, is specified in the
196linger interval, is specified in seconds in the
197.Fn setsockopt
198call when
199.Dv SO_LINGER
200is requested).
201If
202.Dv SO_LINGER
203is disabled and a
204.Xr close 2

--- 193 unchanged lines hidden ---
197.Fn setsockopt
198call when
199.Dv SO_LINGER
200is requested).
201If
202.Dv SO_LINGER
203is disabled and a
204.Xr close 2

--- 193 unchanged lines hidden ---