Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

pmaPutLog - direct write of the next record from an archive file

C Synopsis

#include<pcp/pmapi.h>#include<pcp/libpcp.h>#include<pcp/archive.h>voidpmaPutLog(FILE*f,__int32_t*rbuf);cc...-lpcp_archive-lpcp

Caveat

       This documentation is intended for internal Performance Co-Pilot (PCP) developer use.

       These  interfaces  are  not part of the PCP APIs that are guaranteed to remain fixed across releases, and
       they may not work, or may provide different semantics at some point in the future.

Description

       This is a cut-down version of the archive record reading routines  from  libpcp,  that  writes  the  next
       physical record on the stream identified by f.

       The  record  is  already  formatted  in rbuf, including the setup of the record header length and trailer
       length, and rbuf must be in network byte-order.

       There is no checking, so the record format must be correct and match the semantics of which ever physical
       file (metadata or data volume) that is associated with f.

Diagnostics And Return Values

       The return value is 0 if all is well, else some error code less than zero.

Name

pmaPutLog - direct write of the next record from an archive file

See Also

pmaGetLog(3) and PMAPI(3).

Performance Co-Pilot                                   PCP                                          PMAPUTLOG(3)

See Also