*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: close | Section: 2 | Source: UNIX v7 | File: close.2
CLOSE(2) System Calls Manual CLOSE(2) NAME close - close a file SYNOPSIS close(fildes) DESCRIPTION Given a file descriptor such as returned from an open, creat, dup or pipe(2) call, close closes the associated file. A close of all files is automatic on exit, but since there is a limit on the number of open files per process, close is necessary for programs which deal with many files. Files are closed upon termination of a process, and certain file de- scriptors may be closed by exec(2) (see ioctl(2)). SEE ALSO creat(2), open(2), pipe(2), exec(2), ioctl(2) DIAGNOSTICS Zero is returned if a file is closed; -1 is returned for an unknown file descriptor. ASSEMBLER (close = 6.) (file descriptor in r0) sys close CLOSE(2)

Navigation Options