.\" Copyright (c) 1983, 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
+.\" %%%LICENSE_START(BSD_4_CLAUSE_UCB)
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
+.\" %%%LICENSE_END
.\"
.\" $Id: getsockopt.2,v 1.1 1999/05/24 14:57:04 freitag Exp $
.\"
For a description of the available socket options see
.BR socket (7)
and the appropriate protocol man pages.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
On success, zero is returned.
On error, \-1 is returned, and
.I errno
The argument
.I sockfd
is a file, not a socket.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
SVr4, 4.4BSD (these system calls first appeared in 4.2BSD),
POSIX.1-2001.
.\" SVr4 documents additional ENOMEM and ENOSR error codes, but does
.SH BUGS
Several of the socket options should be handled at lower levels of the
system.
-.SH "SEE ALSO"
+.SH SEE ALSO
.BR ioctl (2),
.BR socket (2),
.BR getprotoent (3),