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 /error_temp.3 | |
| download | qmail-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.3 | 27 |
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 | ||
| 3 | error_temp \- identify soft syscall error codes | ||
| 4 | .SH SYNTAX | ||
| 5 | .B #include <error.h> | ||
| 6 | |||
| 7 | int \fBerror_temp\fP(\fIe\fR); | ||
| 8 | |||
| 9 | int \fIe\fR; | ||
| 10 | .SH DESCRIPTION | ||
| 11 | .B error_temp | ||
| 12 | returns 1 if syscall error code | ||
| 13 | .I e | ||
| 14 | is a soft error, 0 if it is a hard error. | ||
| 15 | Normally | ||
| 16 | .I e | ||
| 17 | is | ||
| 18 | .BR errno . | ||
| 19 | |||
| 20 | A hard error is persistent: | ||
| 21 | file not found, read-only file system, symbolic link loop, etc. | ||
| 22 | |||
| 23 | A soft error is usually transient: | ||
| 24 | out of memory, out of disk space, I/O error, disk quota exceeded, | ||
| 25 | connection refused, host unreachable, etc. | ||
| 26 | .SH "SEE ALSO" | ||
| 27 | error(3) | ||
