Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
Program Interfacecmm_strerror(3CMM)


NAME

 cmm_strerror - get error message string

SYNOPSIS

 
cc [ flag... ] file...  -lcgha_cmm  -lrt
 
#include <cmm.h>
char *cmm_strerror(cmm_error_t errnum);

DESCRIPTION

The cmm_strerror() function maps the error number in errnum to an error message string, and returns a pointer to that string. The returned string must not be overwritten or freed by the calling process.

errnum is a string representing an error code.

RETURN VALUES

The cmm_strerror() function returns one of the following values:

"No Error"

errnum is equal to CMM_OK.

"Unknown Error"

errnum does not correspond to any error code.

"A string equal to the error code"

errnum is equal to the error code.

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
ArchitectureSPARC
AvailabilitySUNWnhcmd
Interface StabilityEvolving
MT-LevelMT-Safe
Cancel-SafetyDeferred-Cancel-Safe Asynchronous-Cancel-Unsafe

SEE ALSO

Intro(3CMM)


Netra HAS FS 2.1Go To TopLast Changed September 2004