close man page on Xenix

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



     CLOSE(S)		      XENIX System V		      CLOSE(S)

     Name
	  close - Closes a file descriptor.

     Syntax
	  int close (fildes)
	  int fildes;

     Description
	  fildes is a file descriptor obtained from a creat, open,
	  dup, fcntl, or pipe system call.  close closes the file
	  descriptor indicated by fildes.  All outstanding record
	  locks on the file indicated by fildes that are owned by the
	  calling process are removed.

	  close will fail if fildes is not a valid open file
	  descriptor.  [EBADF]

     Return Value
	  Upon successful completion, a value of 0 is returned.
	  Otherwise, a value of -1 is returned and errno is set to
	  indicate the error.

     See Also
	  creat(S), dup(S), exec(S), fcntl(S), open(S), pipe(S)

     Page 1					      (printed 8/7/87)

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Xenix

List of man pages available for Xenix

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