Query: io_closeonexec
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
io_closeonexec(3) Library Functions Manual io_closeonexec(3)NAMEio_closeonexec - mark a file descriptor non-inheritableSYNTAX#include <io.h> void io_closeonexec(int64 fd);DESCRIPTIONio_closeonexec marks a file descriptor non-inheritable. It will be automatically closed if the process executes a different one. The descriptor will not be automatically closed when you fork() a new child process, though.SEE ALSOio_wait(3), io_canwrite(3) io_closeonexec(3)