debian/rules: Use `git' potty wrapper.
[qmail] / error_temp.3
CommitLineData
2117e02e
MW
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)