Clean up a pps_decoder_t structure
#include <sys/pps.h>
void pps_decoder_cleanup(pps_decoder_t *decoder);
libpps
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().
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |