3/15/72                                                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 simultane-

                ously open files, close is necessary for programs

                which deal with many files.

FILES           --

SEE ALSO        creat(II), open(II)

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


BUGS            --

OWNER           ken, dmr