
MVI-ADM ♦ 'C' Programmable Side-Connect API Library Functions
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 327 of 342
February 20, 2013
MVIsc_ErrorStr
Syntax
int MVIsc_ErrorStr(int errcode, char *buf);
Parameters
Error code returned from an API function
Pointer to user buffer to receive message
Description
MVIsc_ErrorStr returns the text error message associated with the error code
errcode. The null-terminated error message is copied into the buffer specified by
buf. The buffer should be at least 80 characters in length.
Return Value
Example
char buf[80];
int rc;
/* print error message */
MVIsc_ErrorStr(rc, buf);
printf("Error: %s", buf);
Kommentare zu diesen Handbüchern