Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/e/errno.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/e/errno.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/e/errno.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/e/errno.html on line 8

errno

Explain errno numbers (QNX Neutrino)

Syntax:

errno error_number...

Runs on:

Neutrino

Options:

error_number
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. If the command-line argument isn't a valid error number, a line is written to the standard error instead.

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: ERROR ENOENT
$ 

Exit status:

>0
An error occurred (e.g. unknown errno value).
0
The error string was successfully written to the standard output.

See also:

use


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/e/errno.html on line 116

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/e/errno.html on line 116