V1/man/man2/close.2

Compare this file to the similar file:
Show the results in this format:

11/3/71                                                    SYS 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 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 to programs which deal with many files.

FILES

SEE ALSO      creat, open

DIAGNOSTICS   The error bit (c--bit) is set for an unknown file
              descriptor.

BUGS

OWNER         ken, dmr