Main Page | Modules | Directories | File List | 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 Sat May 20 19:20:42 2006 for GM by  doxygen 1.4.4