PMDF popstore & MessageStore Manager's Guide


Previous Next Contents Index


POPSTORE_error_to_text

Convert a numerical popstore error to a textual error message.
FORMAT


char *POPSTORE_error_to_text (error_code) 
        int error_code; 


Arguments

error_code

Numerical popstore error code returned by a popstore API subroutine. Used for input only.

Description

With the exception of POPSTORE_error_to_text, all popstore API subroutines return a numeric status code indicating success or failure. A brief text message explaining a given numeric status code can be obtained by calling POPSTORE_error_to_text. The return value of POPSTORE_error_to_text will be a pointer to a static, null terminated string containing the explanation.

Return Values

2


Previous Next Contents Index