1PMIEND(3)                  Library Functions Manual                  PMIEND(3)
2
3
4

NAME

6       pmiEnd - finish up a LOGIMPORT archive
7

C SYNOPSIS

9       #include <pcp/pmapi.h>
10       #include <pcp/import.h>
11
12       int pmiEnd(void);
13
14       cc ... -lpcp_import -lpcp
15

Perl SYNOPSIS

17       use PCP::LogImport;
18
19       pmiEnd();
20

DESCRIPTION

22       As  part of the Performance Co-Pilot Log Import API (see LOGIMPORT(3)),
23       pmiEnd closes the current context, forcing the trailer  records  to  be
24       written to the PCP archive files, and then these files are closed.
25
26       In  normal operations, an application would include a call to pmiEnd at
27       the end of processing for each context created with  a  call  to  pmiS‐
28       tart(3).
29

DIAGNOSTICS

31       pmiEnd returns zero on success else a negative value that can be turned
32       into an error message by calling pmiErrStr(3).
33

SEE ALSO

35       LOGIMPORT(3) and pmiStart(3).
36
37
38
39Performance Co-Pilot                                                 PMIEND(3)
Impressum