1LIBPFM(3)                  Linux Programmer's Manual                 LIBPFM(3)
2
3
4

NAME

6       pfm_strerror - return string describing error code
7

SYNOPSIS

9       #include <perfmon/pfmlib.h>
10
11       char *pfm_strerror(int code);
12
13

DESCRIPTION

15       This  function  returns a string which describes the libpfm error value
16       in code. The string returned by the call must  be  considered  as  read
17       only.
18
19       The  function  must only be used on libpfm calls. It is not designed to
20       handle OS system call errors.
21
22

RETURN

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

ERRORS

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

AUTHOR

32       Stephane Eranian <eranian@hpl.hp.com>
33
34                                November, 2003                       LIBPFM(3)
Impressum