strerror
- Updated2023-02-21
- 1 minute(s) read
strerror
char *strerror (int errorID);
Purpose
Maps the specified error ID number from the errno global variable to an error message string.
Parameters
Input | ||
Name | Type | Description |
errorID | int | Contains the error number that is mapped to an error message string. The error number must be a value from the errno global variable. |
Return Value
Name | Type | Description |
errorMessage | char * |
Contains a pointer to the error message string created. A string of the following
form is returned, where ## is the value entered into Error ID:
Error ## |
Additional Information
Library: ANSI C Library
Include file: ansi_c.h
LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later