@node shutdown
@subsection @code{shutdown}
@findex shutdown

POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/shutdown.html}

Gnulib module: shutdown
@mindex shutdown

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
@end itemize
