modxslt-perror1
Program to convert numeric error values into human readable strings
Usage
modxslt-perror [ERRNO]
Overview
modxslt-perror can be used to convert a numeric error number into a human readable string. All it does, is reading the specified error ERRNO from the command line, and convert it into a string using strerror.
modxslt-perror exists since modxslt and libmodxslt can be used from multithreaded application, but strerror is not reentrant and cannot be used directly.
modxslt and libmodxslt will thus always output numeric error values, not very useful to human beings.
Options
- ERRNO
-
The numeric error value, usually referred as system errno.
Examples
$ modxslt-perror 13 13: Permission denied $ modxslt-perror 23 23: Too many open files in system