pps_decoder_cleanup()

Updated: October 26, 2022

Clean up a pps_decoder_t structure

Synopsis:

#include <sys/pps.h>
            
void pps_decoder_cleanup(pps_decoder_t *decoder);

Arguments:

decoder
A pointer to the PPS decoder structure.

Library:

libpps

Description:

The function pps_decoder_cleanup() cleans up a pps_decoder_t structure, freeing any allocated memory. Call this function only when the decoder structure is no longer needed. You don't need to call pps_decoder_cleanup() between calls to pps_decoder_parse_pps_str() or pps_decoder_parse_json_str().

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes