errno
QNX SDP8.0Utilities ReferenceUtilities
Explain errno numbers (QNX OS)
Syntax:
errno error_number...
Runs on:
QNX OS
Options:
- error_number
- The error number to be explained.
Description:
The errno utility displays the string equivalent for the error_numbers supplied on the command line. The output is written to the standard output.
This utility is useful in cases where a program has indicated
that a numerical error occurred and hasn't provided the ASCII
string equivalent of that errno value. Users who don't have
access to the C header file <errno.h>
don't have the option of using:
grep error_number /usr/include/errno.h
The errno utility is more convenient and is available to all users.
Examples:
Find the string equivalent of error number 2:
$ errno 2
errno 2: No such file or directory
$
Exit status:
- 0
- Always returns 0.
Page updated: