summaryrefslogtreecommitdiffstats
path: root/error_temp.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 /error_temp.3
downloadqmail-69aec538b456402170dc723af417ba5c05389c32.tar.gz
qmail-69aec538b456402170dc723af417ba5c05389c32.tar.bz2
qmail-69aec538b456402170dc723af417ba5c05389c32.zip
qmail 1.03 import
Diffstat (limited to 'error_temp.3')
-rw-r--r--error_temp.327
1 files changed, 27 insertions, 0 deletions
diff --git a/error_temp.3 b/error_temp.3
new file mode 100644
index 0000000..2f8229d
--- /dev/null
+++ b/error_temp.3
@@ -0,0 +1,27 @@
1.TH error_temp 3
2.SH NAME
3error_temp \- identify soft syscall error codes
4.SH SYNTAX
5.B #include <error.h>
6
7int \fBerror_temp\fP(\fIe\fR);
8
9int \fIe\fR;
10.SH DESCRIPTION
11.B error_temp
12returns 1 if syscall error code
13.I e
14is a soft error, 0 if it is a hard error.
15Normally
16.I e
17is
18.BR errno .
19
20A hard error is persistent:
21file not found, read-only file system, symbolic link loop, etc.
22
23A soft error is usually transient:
24out of memory, out of disk space, I/O error, disk quota exceeded,
25connection refused, host unreachable, etc.
26.SH "SEE ALSO"
27error(3)