Man Linux: Main Page and Category List

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>

                                November, 2003                       LIBPFM(3)