Prosoft-technology MVI69-ADM Bedienungsanleitung Seite 327

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 342
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 326
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
errcode
Error code returned from an API function
buf
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
MVISC_SUCCESS
Message returned in buf
MVISC_ERR_BADPARAM
Unknown error code
Example
char buf[80];
int rc;
/* print error message */
MVIsc_ErrorStr(rc, buf);
printf("Error: %s", buf);
Seitenansicht 326
1 2 ... 322 323 324 325 326 327 328 329 330 331 332 ... 341 342

Kommentare zu diesen Handbüchern

Keine Kommentare