Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

gm_perror.c File Reference

#include "gm_debug.h"
#include "gm_internal.h"

Functions

GM_ENTRY_POINT void gm_perror (const char *message, gm_status_t error)

Detailed Description

This file contains the GM API function gm_perror().


Function Documentation

GM_ENTRY_POINT void gm_perror const char *    message,
gm_status_t    error
 

gm_perror() is similar to ANSI perror(), but takes the error code as a parameter to allow thread safety in future implementations, and only supports GM error numbers. Prints message followed by a description of errno.

Parameters:
message  (OUT) Textual description of the GM error.
error  (IN) GM Error code.
Author:
Glenn Brown
Version:
GM_API_VERSION (as defined in gm.h)


Generated on Mon Nov 3 15:39:26 2003 for GM by doxygen1.2.15