.SH DESCRIPTION
.B Getsockopt
and
-.B setsockopt
+.BR setsockopt ()
manipulate the
.I options
associated with a socket. Options may exist at multiple
and
.I optlen
are used to access option values for
-.BR setsockopt .
+.BR setsockopt ().
For
-.B getsockopt
+.BR getsockopt ()
they identify a buffer in which the value for the
requested option(s) are to be returned. For
-.BR getsockopt ,
+.BR getsockopt (),
.I optlen
is a value-result parameter, initially containing the
size of the buffer pointed to by
parameter for
.IR optval .
For
-.BR setsockopt ,
+.BR setsockopt (),
the parameter should be non-zero to enable a boolean option, or zero if the
option is to be disabled.
The address pointed to by
.I optval
is not in a valid part of the process address space. For
-.BR getsockopt ,
+.BR getsockopt (),
this error may also be returned if
.I optlen
is not in a valid part of the process address space.