MANPAGES
Skip Quicknav
Index
About Manpages
FAQ
Service Information
/
stretch
/
qmail
/ coe(3)
links
language-indep link
package tracker
raw man page
table of contents
NAME
SYNTAX
DESCRIPTION
SEE ALSO
other versions
stretch
1.06-6+b1
testing
1.06-6+b1
unstable
1.06-6+b1
Scroll to navigation
coe(3)
Library Functions Manual
coe(3)
NAME
¶
coe - set close-on-exec flag for a descriptor
SYNTAX
¶
#include <coe.h>
int
coe
(
fd
);
int
fd
;
DESCRIPTION
¶
coe
sets the close-on-exec flag for file descriptor
fd
, returning 0 if it was successful or -1 on error. If
coe
is successful,
fd
will be closed when the process calls
execve
.
SEE ALSO
¶
execve(2)
,
fcntl(2)