Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ close(2) — sys5 — Apollo Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

creat(2)

dup(2)

exec(2)

fcntl(2)

open(2)

pipe(2)



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





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