summaryrefslogtreecommitdiffstats
path: root/coe.3
diff options
context:
space:
mode:
Diffstat (limited to 'coe.3')
-rw-r--r--coe.325
1 files changed, 25 insertions, 0 deletions
diff --git a/coe.3 b/coe.3
new file mode 100644
index 0000000..06591b6
--- /dev/null
+++ b/coe.3
@@ -0,0 +1,25 @@
1.TH coe 3
2.SH NAME
3coe \- set close-on-exec flag for a descriptor
4.SH SYNTAX
5.B #include <coe.h>
6
7int \fBcoe\fP(\fIfd\fR);
8
9int \fIfd\fR;
10.SH DESCRIPTION
11.B coe
12sets the close-on-exec flag for
13file descriptor
14.IR fd ,
15returning 0 if it was successful
16or -1 on error.
17If
18.B coe
19is successful,
20.I fd
21will be closed when the process calls
22.BR execve .
23.SH "SEE ALSO"
24execve(2),
25fcntl(2)