z/OS Infoprint Server Customization
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


ErrorString -- return a pointer to the API error message

z/OS Infoprint Server Customization
SA38-0691-00

ErrorString -- return a pointer to the API error message

Format

#include <aopapi.h>
const char*  ErrorString();

Description

The ErrorString function returns a pointer to a string that describes the last error returned by the API for the calling thread. The message is a multi-byte string in the language indicated by the current locale when the locale is supported or in English for other locales. These locales are supported: C, En_US, and Ja_JP.

Returned value

ErrorString returns:

  • A pointer to an error string if an error occurred.
  • An empty string if no error occurred.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014