io_closeonexec3
Mark a file descriptor non-inheritable
Usage
#include <libowfat/io.h>
void io_closeonexec(int64 fd);
Overview
io_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.
Releases
7 releases since Debian 7 (Wheezy); the text changed 1 time.