<< Previous | Next >>

error_message

unsigned long error_message( int message_index );

Description

Returns a physical pointer to a descriptive string for an error code listed in errno.lib. The sample program Samples\ErrorHandling\error_message_test.c illustrates the use of error_message(). The error message strings are defined in errors.lib.

Parameter

message_index
Positive or negative value of error return code.

Return value

Physical address of string, or zero if error code is not listed.

Library

ERRORS.LIB


Dynamic C Functions << Previous | Next >> rabbit.com