io_close man page on Alpinelinux

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

io_close(3)							   io_close(3)

NAME
       io_close - close a file descriptor

SYNTAX
       #include <io.h>

       void io_close(int64 fd);

DESCRIPTION
       io_close	 eliminates  the descriptor numbered fd. This usually does not
       mean eliminating the object that the descriptor is  talking  to.	  (For
       example,	 if  a	descriptor  writes  to	a named disk file, closing the
       descriptor will not remove the file; it simply removes one way of writ‐
       ing  to	the  file.  On the other hand, a pipe disappears as soon as no
       descriptors refer to it.)

       io_close has no return value; it always succeeds	 in  deallocating  the
       memory  used for the descriptor.	 If fd is not the number of a descrip‐
       tor, io_close has no effect.

       io_close() is like close(), but it also removes the descriptor from the
       internal	 io_wait() data structures.  If you called io_fd on a descrip‐
       tor, you need to use io_close to close it, not just close().

SEE ALSO
       io_wait(3), io_canwrite(3)

								   io_close(3)
[top]

List of man pages available for Alpinelinux

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