diff options
| author | manuel <manuel@mausz.at> | 2013-02-04 00:08:53 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2013-02-04 00:08:53 +0100 |
| commit | 69aec538b456402170dc723af417ba5c05389c32 (patch) | |
| tree | e6f34c543f17c6392447ea337b2e2868212424d1 /coe.3 | |
| download | qmail-69aec538b456402170dc723af417ba5c05389c32.tar.gz qmail-69aec538b456402170dc723af417ba5c05389c32.tar.bz2 qmail-69aec538b456402170dc723af417ba5c05389c32.zip | |
qmail 1.03 import
Diffstat (limited to 'coe.3')
| -rw-r--r-- | coe.3 | 25 |
1 files changed, 25 insertions, 0 deletions
| @@ -0,0 +1,25 @@ | |||
| 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) | ||
