Query: pmeventflagsstr
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PMEVENTFLAGSSTR(3) Library Functions Manual PMEVENTFLAGSSTR(3)NAMEpmEventFlagsStr, pmEventFlagsStr_r - convert an event record flags value into a stringC SYNOPSIS#include <pcp/pmapi.h> const char *pmEventFlagsStr(int flags); char *pmEventFlagsStr_r(int flags, char *buf, int buflen); cc ... -lpcpDESCRIPTIONFor use in error and diagnostic messages, pmEventFlagsStr returns a `human readable' version of the value flags, assuming this to be the er_flags field of a pmEventRecord. The pmEventFlagsStr_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 64 bytes. The string value result from pmEventFlagsStr is held in a single static buffer, so the returned value is only valid until the next call to pmEventFlagsStr.NOTESpmEventFlagsStr returns a pointer to a static buffer and hence is not thread-safe. Multi-threaded applications should use pmEvent- FlagsStr_r instead.SEE ALSOPMAPI(3) and pmdaEventAddRecord(3). Performance Co-Pilot PCP PMEVENTFLAGSSTR(3)
Related Man Pages |
---|
pmerrstr_r(3) - centos |
pmidstr(3) - centos |
pmtypestr(3) - centos |
pmunitsstr(3) - centos |
pmunitsstr_r(3) - centos |
Similar Topics in the Unix Linux Community |
---|
Weird 'find' results |
How to increment version inside a file? |
DB2 convert digits to binary format |
Docker learning Phase-I |
Controlling user input |