OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [ecos-2.0/] [packages/] [net/] [tcpip/] [v2_0/] [doc/] [shutdown.html] - Blame information for rev 1254

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1254 phoenix
<html>
2
<body>
3
<pre>
4
NAME
5
       shutdown - shut down part of a full-duplex connection
6
 
7
SYNOPSIS
8
       #include &lt;network.h&gt;
9
 
10
       int shutdown(int s, int how);
11
 
12
DESCRIPTION
13
       The shutdown call causes all or part of a full-duplex con-
14
       nection on the socket associated with s to be  shut  down.
15
       If  how is 0, further receives will be disallowed.  If how
16
       is 1, further sends will be disallowed.  If how is 2, fur-
17
       ther sends and receives will be disallowed.
18
 
19
RETURN VALUE
20
       On  success,  zero is returned.  On error, -1 is returned,
21
       and errno is set appropriately.
22
 
23
ERRORS
24
       EBADF   s is not a valid descriptor.
25
 
26
       ENOTSOCK
27
               s is a file, not a socket.
28
 
29
       ENOTCONN
30
               The specified socket is not connected.
31
</pre>
32
</body>
33
</html>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.