man(1) Manual page archive

sys-close(2) - Unix First Edition Manual Page
11/3/71SYS_CLOSE (II)

NAME close -- close a file
SYNOPSIS (file descriptor in r0)sys close / close = 6.


DESCRIPTION Given a file descriptor such as returned from an open orcreat call, close closes the associated file. A close of


all files is automatic on exit, but since processes arelimited to 10 simultaneously open files, close is necessary to programs which deal with many files.
FILES
SEE_ALSO creat, open
DIAGNOSTICS The error bit (c--bit) is set for an unknown filedescriptor.


BUGS
OWNER ken, dmr