perfmon2
   the hardware-based performance monitoring interface for Linux
opensource.hp.com Link to Linux and HP web site  
Documentation
libpfm manual

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


This document was created by man2html, using the manual pages.
Time: 16:57:22 GMT, October 27, 2007