blob: b5d74fbd7fc012624b5d33d26e0ab592755d419c (
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
|
.pa 1
.he 'CLOSE (II)'3/15/72'CLOSE (II)'
.ti 0
NAME close -- close a file
.sp
.ti 0
SYNOPSIS (file descriptor in r0)
.br
sys close / close = 6.
.sp
.ti 0
DESCRIPTION Given
a file descriptor such as returned from an open or creat call,
close_____ closes the associated file.
A close of all files is automatic on exit, but since
processes are limited to 10 simultaneously open files,
close_____ is necessary for programs which deal with many files.
.sp
.ti 0
SEE ALSO creat(II), open(II)
.sp
.ti 0
DIAGNOSTICS The error bit
(c-bit) is set for an unknown file descriptor.
.sp
.ti 0
BUGS --
|