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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1254 phoenix
<html>
2
<body>
3
<pre>
4
NAME
5
       close - close a file descriptor
6
 
7
SYNOPSIS
8
 
9
       int close(int fd);
10
 
11
DESCRIPTION
12
       close  closes  a  file  descriptor,  so  that it no longer
13
       refers to any file and may be reused.
14
 
15
       If fd is the last copy of a particular file descriptor the
16
       resources associated with it are freed.
17
 
18
RETURN VALUE
19
       close returns zero on success, or -1 if an error occurred.
20
 
21
ERRORS
22
       EBADF  fd isn't a valid open file descriptor.
23
 
24
 
25
</pre>
26
</body>
27
</html>

powered by: WebSVN 2.1.0

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