pps_decoder_get_state()

Return the current state of the decoder

Synopsis:

#include <sys/pps.h>
            
void pps_decoder_get_state(pps_decoder_t *decoder, 
                           pps_decoder_state_t *state);

Arguments:

decoder
A pointer to the PPS decoder structure.
state
A pointer to a structure to hold the state.

Library:

libpps

Description:

The function pps_decoder_get_state() sets the argument state to point to the current node of the decoder structure. Obtaining the state allows you to return the decoder to a known state after a sequence of data extraction or navigation calls.

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes