close man page on UNIXv7

Man page or keyword search:  
man Server   300 pages
apropos Keyword Search (all sections)
Output format
UNIXv7 logo
[printable version]

CLOSE(2)							      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
       descriptors 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)
[top]

List of man pages available for UNIXv7

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net