mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-09-01 11:16:02 +00:00
* doc/Makefile (undocumented-modules.texi): New rule. (%.info, %.html, %.dvi, %.pdf): Depend on undocumented-modules.texi. (mostlyclean): Remove also *.m and *.tmp. (force): New rule. * doc/*.texi: Add module index entries. * doc/*/*.texi: Likewise.
30 lines
816 B
Plaintext
30 lines
816 B
Plaintext
@node setsockopt
|
|
@subsection @code{setsockopt}
|
|
@findex setsockopt
|
|
|
|
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/setsockopt.html}
|
|
|
|
LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-setsockopt-2.html}
|
|
|
|
Gnulib module: setsockopt
|
|
@mindex setsockopt
|
|
|
|
Portability problems fixed by Gnulib:
|
|
@itemize
|
|
@item
|
|
This function is declared in @code{<winsock2.h>}
|
|
instead of @code{<sys/socket.h>}
|
|
on some platforms:
|
|
mingw, MSVC 14.
|
|
@item
|
|
On Windows platforms (excluding Cygwin), error codes from this function
|
|
are not placed in @code{errno}, and @code{WSAGetLastError} must be used
|
|
instead.
|
|
@end itemize
|
|
|
|
Portability problems not fixed by Gnulib:
|
|
@itemize
|
|
@item
|
|
Many socket options are not available on all platforms.
|
|
@end itemize
|