Return the current state of the decoder
#include <sys/pps.h> void pps_decoder_get_state(pps_decoder_t *decoder, pps_decoder_state_t *state);
libpps
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.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |