1LIBPFM(3) Linux Programmer's Manual LIBPFM(3)
2
3
4
6 pfm_strerror - return string describing error code
7
9 #include <perfmon/pfmlib.h>
10
11 char *pfm_strerror(int code);
12
13
15 This function returns a string which describes the error value in code.
16 The string returned by the call must be considered as read only.
17
19 The function returns a pointer to the string describing the error code.
20 If code is invalid then the default error message is returned.
21
23 If the error code is invalid, then the function returns a pointer to a
24 string which says "unknown error code".
25
27 Stephane Eranian <eranian@hpl.hp.com>
28
29 November, 2003 LIBPFM(3)