Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
io_closeonexec(3)	   Library Functions Manual	     io_closeonexec(3)

NAME
       io_closeonexec -	mark a file descriptor non-inheritable

SYNTAX
       #include	<io.h>

       void io_closeonexec(int64 fd);

DESCRIPTION
       io_closeonexec marks a file descriptor non-inheritable.	It will	be au-
       tomatically closed if the process executes a different  one.   The  de-
       scriptor	 will  not be automatically closed when	you fork() a new child
       process,	though.

SEE ALSO
       io_wait(3), io_canwrite(3)

							     io_closeonexec(3)

NAME | SYNTAX | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=libowfat_io_closeonexec&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help