Xinu7/man/man2/close.doc
CLOSE(2) Xinu Programmer's Manual CLOSE(2)
NAME
close - device independent close routine
SYNOPSIS
int close(dev)
int dev;
DESCRIPTION
_C_l_o_s_e will disconnect I/O from the device given by _d_e_v. It
returns SYSERR if _d_e_v is incorrect, or is not opened for
I/O. Otherwise, _c_l_o_s_e returns OK.
Normally tty devices like the console do not have to be
opened and closed.
SEE ALSO
control(2), getc(2), open(2), putc(2), read(2), seek(2),
write(2)
Version 6b Printed 1/12/87 1