SYNOPSIS
#include <sys/socket.h>
int shutdown(int s, int how);
DESCRIPTION
The
PARAMETERS
RETURN VALUES
Upon successful completion,
- EBADF
-
The socket argument is not a valid file descriptor.
- EINVAL
-
The how argument is invalid.
- ENOTCONN
-
The socket is not connected. (connection oriented sockets only.)
- ENOTSOCK
-
The s argument does not refer to a socket.
CONFORMANCE
UNIX 98, with exceptions.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
The NuTCRACKER Platform supports all the address families that WinSock 2.0 supports.
AVAILABILITY
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
getsockopt() ,read() ,recv() ,recvfrom() ,recvmsg() ,select() ,send() ,sendmsg() ,sendto() ,setsockopt() ,socket() ,socketpair() ,write()
MKS Toolkit 9.2 Documentation Build 16.