Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
446 B

.TH io_closeonexec 3
io_closeonexec \- mark a file descriptor non-inheritable
.B #include <libowfat/io.h>
void \fBio_closeonexec\fP(int64 fd);
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.
io_wait(3), io_canwrite(3)