Prosoft-technology MVI69-ADM Bedienungsanleitung Seite 222

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 342
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 221
Backplane API Functions MVI-ADM 'C' Programmable
Developer's Guide 'C' Programmable Application Development Module
Page 222 of 342 ProSoft Technology, Inc.
February 20, 2013
MVIbp_ErrorString
Syntax
int MVIbp_ErrorString(int errcode, char *buf);
Parameters
errcode
Error code returned from an API function
buf
Pointer to user buffer to receive message
Description
MVIbp_ErrorStr returns a 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
MVI_SUCCESS
Message returned in buf
MVI_ERR_BADPARAM
Unknown error code
Example
char buf[80];
int rc;
/* print error message */
MVIbp_ErrorString(rc, buf);
printf("Error: %s", buf);
Seitenansicht 221
1 2 ... 217 218 219 220 221 222 223 224 225 226 227 ... 341 342

Kommentare zu diesen Handbüchern

Keine Kommentare