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/impl.h>
11       #include <pcp/import.h>
12
13       int pmiEnd(void);
14
15       cc ... -lpcp_import -lpcp
16

Perl SYNOPSIS

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

DESCRIPTION

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

DIAGNOSTICS

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

SEE ALSO

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