logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

io_closeonexec - mark a file descriptor non-inheritable

Description

       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.

Name

       io_closeonexec - mark a file descriptor non-inheritable

See Also

io_wait(3), io_canwrite(3)

                                                                                               io_closeonexec(3)

Syntax

#include<libowfat/io.h>

       void io_closeonexec(int64 fd);

See Also