CLOSE(2)
NAME
close − device independent close routine
SYNOPSIS
int close(dev)
int dev;
DESCRIPTION
Close will disconnect I/O from the device given by dev. It returns SYSERR if dev is incorrect, or is not opened for I/O. Otherwise, close 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)
December 01, 1986 — Xinu Programmer’s Manual