From 69aec538b456402170dc723af417ba5c05389c32 Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 4 Feb 2013 00:08:53 +0100 Subject: qmail 1.03 import --- coe.3 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 coe.3 (limited to 'coe.3') diff --git a/coe.3 b/coe.3 new file mode 100644 index 0000000..06591b6 --- /dev/null +++ b/coe.3 @@ -0,0 +1,25 @@ +.TH coe 3 +.SH NAME +coe \- set close-on-exec flag for a descriptor +.SH SYNTAX +.B #include + +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) -- cgit v1.2.3