poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / setsockopt.texi
blob252d0ba6d28a00b6e6ed4a2373beb34962f65041
1 @node setsockopt
2 @section @code{setsockopt}
3 @findex setsockopt
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html}
7 LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-setsockopt-2.html}
9 Gnulib module: setsockopt
11 Portability problems fixed by Gnulib:
12 @itemize
13 @item
14 On Windows platforms (excluding Cygwin), error codes from this function
15 are not placed in @code{errno}, and @code{WSAGetLastError} must be used
16 instead.
17 @end itemize
19 Portability problems not fixed by Gnulib:
20 @itemize
21 @item
22 Many socket options are not available on all platforms.
23 @end itemize