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