pfm_strerror

Langue: en

Autres versions - même langue

Version: 152605 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

pfm_strerror - return string describing error code

SYNOPSIS

 #include <perfmon/pfmlib.h>
 
 char *pfm_strerror(int code);
 
 
 

DESCRIPTION

This function returns a string which describes the error value in code. The string returned by the call must be considered as read only.

RETURN

The function returns a pointer to the string describing the error code. If code is invalid then the default error message is returned.

ERRORS

If the error code is invalid, then the function returns a pointer to a string which says "unknown error code".

AUTHOR

Stephane Eranian <eranian@hpl.hp.com>