diff options
Diffstat (limited to 'error_str.3')
| -rw-r--r-- | error_str.3 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/error_str.3 b/error_str.3 new file mode 100644 index 0000000..62043c4 --- /dev/null +++ b/error_str.3 | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | .TH error_str 3 | ||
| 2 | .SH NAME | ||
| 3 | error_str \- names for syscall error codes | ||
| 4 | .SH SYNTAX | ||
| 5 | .B #include <error.h> | ||
| 6 | |||
| 7 | char *\fBerror_str\fP(\fIe\fR); | ||
| 8 | |||
| 9 | int \fIe\fR; | ||
| 10 | .SH DESCRIPTION | ||
| 11 | .B error_str | ||
| 12 | returns a printable string describing syscall error code | ||
| 13 | .IR e . | ||
| 14 | Normally | ||
| 15 | .I e | ||
| 16 | is | ||
| 17 | .BR errno . | ||
| 18 | .SH "SEE ALSO" | ||
| 19 | error(3) | ||
