Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought



CLOSE(2)        DOMAIN/IX Reference Manual (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
     Upon a successful close, a value of zero is returned.  Oth-
     erwise, close returns a value of -1 is and sets errno to
     indicate the error.

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 5/10/85                                           CLOSE-1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026