1io_closeonexec(3)          Library Functions Manual          io_closeonexec(3)
2
3
4

NAME

6       io_closeonexec - mark a file descriptor non-inheritable
7

SYNTAX

9       #include <io.h>
10
11       void io_closeonexec(int64 fd);
12

DESCRIPTION

14       io_closeonexec  marks  a  file  descriptor non-inheritable.  It will be
15       automatically closed if the process  executes  a  different  one.   The
16       descriptor will not be automatically closed when you fork() a new child
17       process, though.
18

SEE ALSO

20       io_wait(3), io_canwrite(3)
21
22
23
24                                                             io_closeonexec(3)
Impressum