CLOSE(2) DOMAIN/IX SYS5 CLOSE(2)
NAME
close - close a file descriptor
USAGE
int close (fildes)
int fildes;
DESCRIPTION
Fildes is a file descriptor returned by a creat, open, dup,
fcntl, or pipe system call. Close closes the file descrip-
tor named by fildes.
RETURN VALUE
A successful call returns zero. A failed call returns -1
and sets errno as indicated below.
ERRORS
[EBADF] Fildes is not a valid open file descriptor.
RELATED INFORMATION
creat(2), dup(2), exec(2), fcntl(2), open(2), pipe(2)
Printed 12/4/86 CLOSE-1