Return a pointer to the buffer holding the encoded data
#include <sys/pps.h>
const char *pps_encoder_buffer(pps_encoder_t *encoder);
libpps
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.
A pointer to the encoder buffer, or NULL if not available.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |