PMERRSTR - Online Linux Manual PageSection : 3
Updated : PCP
Source : Performance Co-Pilot
NAMEpmErrStr, pmErrStr_r − convert a PMAPI error code into a string
C SYNOPSIS#include <pcp/pmapi.h> const char *pmErrStr(int code);
char *pmErrStr_r(int code, char *buf, int buflen); cc ... −lpcp
DESCRIPTIONTranslate an error code into a text string, suitable for generating a diagnostic message. The pmErrStr_r function does the same, but stores the result in a user-supplied buffer buf of length buflen, which should have room for at least PM_MAXERRMSGLEN bytes. By convention, all error codes are negative. The small values are assumed to be negated versions of the Unix error codes as defined in <errno.h> and the strings returned are as per strerror(3). The larger, negative error codes are Performance Metrics Application Programming Interface (PMAPI) error conditions and pmErrStr(3) returns an appropriate PMAPI error string, as determined by code.
NOTESpmErrStr returns a pointer to a static buffer, so the returned value is only valid until the next call to pmErrStr and hence is not thread-safe. Multi-threaded applications should use pmErrStr_r instead.
SEE ALSOpmerr(1), PMAPI(3) and perror(3). 0
Johanes Gumabo
Data Size : 4,572 byte
man-pmErrStr_r.3Build : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 258,418
Visitor ID : :
Visitor IP : 3.129.210.36 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.