summaryrefslogtreecommitdiffstats
path: root/coe.3
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2013-02-04 00:08:53 +0100
committermanuel <manuel@mausz.at>2013-02-04 00:08:53 +0100
commit69aec538b456402170dc723af417ba5c05389c32 (patch)
treee6f34c543f17c6392447ea337b2e2868212424d1 /coe.3
downloadqmail-69aec538b456402170dc723af417ba5c05389c32.tar.gz
qmail-69aec538b456402170dc723af417ba5c05389c32.tar.bz2
qmail-69aec538b456402170dc723af417ba5c05389c32.zip
qmail 1.03 import
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)