pps_encoder_buffer()

Updated: October 26, 2022

Return a pointer to the buffer holding the encoded data

Synopsis:

#include <sys/pps.h>
            
const char *pps_encoder_buffer(pps_encoder_t *encoder);

Arguments:

encoder
A pointer to the PPS encoder structure.

Library:

libpps

Description:

The function pps_encoder_buffer() returns a pointer to the buffer holding the encoded data. This function returns a valid pointer only if there have been no errors and all objects have been closed off. Therefore, a null pointer can indicate either an error situation or incomplete data.

Returns:

A pointer to the encoder buffer, or NULL if not available.

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes