debian/rules: Use `git' potty wrapper.
[qmail] / coe.3
1 .TH coe 3
2 .SH NAME
3 coe \- set close-on-exec flag for a descriptor
4 .SH SYNTAX
5 .B #include <coe.h>
6
7 int \fBcoe\fP(\fIfd\fR);
8
9 int \fIfd\fR;
10 .SH DESCRIPTION
11 .B coe
12 sets the close-on-exec flag for
13 file descriptor
14 .IR fd ,
15 returning 0 if it was successful
16 or -1 on error.
17 If
18 .B coe
19 is successful,
20 .I fd
21 will be closed when the process calls
22 .BR execve .
23 .SH "SEE ALSO"
24 execve(2),
25 fcntl(2)