modxslt-perror

Langue: en

Version: September 6, 2004 (mandriva - 01/05/08)

Section: 1 (Commandes utilisateur)

NAME

modxslt-perror - program to convert numeric error values into human readable strings

SYNOPSIS

modxslt-perror [ERRNO]

DESCRIPTION

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
 
 

SEE ALSO

errno (3), strerror (3), modxslt manual, http://www.modxslt2.com

LICENSE

This manual page was written by Carlo Contavalli <ccontavalli at modxslt2.com>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.

AUTHOR

Carlo Contavalli.