*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/shutdown (2)              


SHUTDOWN(2)							   SHUTDOWN(2)

NAME    [Toc]    [Back]

     shutdown -	shut down part of a full-duplex	connection

SYNOPSIS    [Toc]    [Back]

     int shutdown (int s, int how);

DESCRIPTION    [Toc]    [Back]

     The shutdown call causes all or part of a full-duplex connection on the
     socket associated with s to be shut down.	If how is 0, then further
     receives will be disallowed.  If how is 1,	then further sends will	be
     disallowed.  If how is 2, then further sends and receives will be

DIAGNOSTICS    [Toc]    [Back]

     A 0 is returned if	the call succeeds, -1 if it fails.

ERRORS    [Toc]    [Back]

     The call succeeds unless:

     [EBADF]	    S is not a valid descriptor.

     [ENOTSOCK]	    S is a file, not a socket.

     [ENOTCONN]	    The	specified socket is not	connected.

SEE ALSO    [Toc]    [Back]

     connect(2), socket(2)

NOTE    [Toc]    [Back]

     ABI-compliant versions of the above call can be obtained from

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
SSL_shutdown NetBSD shut down a TLS/SSL connection
SSL_shutdown OpenBSD shut down a TLS/SSL connection
SSL_shutdown Tru64 Shut down a TLS/SSL connection
shutdown HP-UX shut down a socket
xlv_shutdown IRIX shut down XLV volumes
shutdown Tru64 Shut down socket send and receive operations
full Linux always full device
ftpshut HP-UX create shutdown message file to shut down the ftp servers at a given time
photo IRIX Full-color images
endfullscrn IRIX ends full-screen mode
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service