Poster of Linux kernelThe best gift for a Linux geek
PMIERRSTR

PMIERRSTR

Section: C Library Functions (3) Updated:
Local index Up
 

NAME

pmiErrStr - convert a LOGIMPORT error code into a string  

C SYNOPSIS

#include <pcp/pmapi.h>
#include <pcp/impl.h>
#include <pcp/import.h>

const char *pmiErrStr(int sts)

cc ... -lpcp_import -lpcp  

Perl SYNOPSIS

use PCP::LogImport;

pmiErrStr($sts)  

DESCRIPTION

As part of the Performance Co-Pilot Log Import API (see LOGIMPORT(3)), pmiErrStr translates error codes returned from the other routines in the Log Import library into printable error messages.

sts would normally have a negative value. As a special case, if sts is -1 then the error code returned from the last routine called in the LOGIMPORT library for this context will be used.

The set of possible error codes and messages is all those defined by pmErrStr(3) and PCPIntro(3), plus the additonal ones defined in <pcp/import.h> with error code names of the form PMI_ERR_....  

DIAGNOSTICS

None.  

SEE ALSO

LOGIMPORT(3), PCPIntro(3) and pmErrStr(3).


 

Index

NAME
C SYNOPSIS
Perl SYNOPSIS
DESCRIPTION
DIAGNOSTICS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:52:38 GMT, April 16, 2011