shutdown man page on OSF1

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
OSF1 logo
[printable version]

shutdown(2)							   shutdown(2)

NAME
       shutdown - Shut down socket send and receive operations

SYNOPSIS
       #include <sys/socket.h>

       int shutdown(
	       int socket,
	       int how );

STANDARDS
       Interfaces  documented on this reference page conform to industry stan‐
       dards as follows:

       shutdown(): XNS5.0

       Refer to the standards(5) reference page	 for  more  information	 about
       industry standards and associated tags.

PARAMETERS
       Specifies  the  file  descriptor	 of the socket.	 Specifies the type of
       shutdown. Values are: To disable further receive operations To  disable
       further	send operations To disable further send operations and receive
       operations

DESCRIPTION
       The shutdown() function disables receive and/or send operations on  the
       specified socket.

RETURN VALUES
       Upon successful completion, a value of 0 (zero) is returned. Otherwise,
       a value of -1 is returned and errno is set to indicate the error.

ERRORS
       If the shutdown() function fails, errno may be set to one of  the  fol‐
       lowing  values: The socket parameter is not valid.  The how argument is
       invalid.	 Insufficient resources are available in the  system  to  com‐
       plete  the call.	 The available STREAMS resources were insufficient for
       the operation to complete.  The socket is not  connected.   The	socket
       parameter refers to a file, not a socket.

SEE ALSO
       Functions:  getsockopt(2),  read(2),  recv(2), recvfrom(2), recvmsg(2),
       select(2), send(2), sendto(2), setsockopt(2), socket(2), write(2)

       Standards: standards(5)

								   shutdown(2)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net