1
0
Fork 0
qmail/coe.3
D. J. Bernstein af9625ddf9 qmail 1.01
2009-12-18 13:07:04 +01:00

25 lines
384 B
Groff

.TH coe 3
.SH NAME
coe \- set close-on-exec flag for a descriptor
.SH SYNTAX
.B #include <coe.h>
int \fBcoe\fP(\fIfd\fR);
int \fIfd\fR;
.SH DESCRIPTION
.B coe
sets the close-on-exec flag for
file descriptor
.IR fd ,
returning 0 if it was successful
or -1 on error.
If
.B coe
is successful,
.I fd
will be closed when the process calls
.BR execve .
.SH "SEE ALSO"
execve(2),
fcntl(2)