1PMAPUTLOG(3) Library Functions Manual PMAPUTLOG(3)
2
3
4
6 pmaPutLog - direct write of the next record from an archive file
7
9 #include <pcp/pmapi.h>
10 #include <pcp/libpcp.h>
11 #include <pcp/archive.h>
12
13 void pmaPutLog(FILE *f, __int32_t *rbuf);
14
15 cc ... -lpcp_archive -lpcp
16
18 This documentation is intended for internal Performance Co-Pilot (PCP)
19 developer use.
20
21 These interfaces are not part of the PCP APIs that are guaranteed to
22 remain fixed across releases, and they may not work, or may provide
23 different semantics at some point in the future.
24
26 This is a cut-down version of the archive record reading routines from
27 libpcp, that writes the next physical record on the stream identified
28 by f.
29
30 The record is already formatted in rbuf, including the setup of the
31 record header length and trailer length, and rbuf must be in network
32 byte-order.
33
34 There is no checking, so the record format must be correct and match
35 the semantics of which ever physical file (metadata or data volume)
36 that is associated with f.
37
39 The return value is 0 if all is well, else some error code less than
40 zero.
41
43 pmaGetLog(3) and PMAPI(3).
44
45
46
47Performance Co-Pilot PCP PMAPUTLOG(3)