LabWindows/CVI

Content Type
Programming Language
Current manual
Table of Contents

strerror

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

Was this information helpful?

Previous

strcspn

Previous

strcspn