pps_decoder_set_state()

Updated: October 26, 2022

Set the state of the decoder

Synopsis:

#include <sys/pps.h>
            
void pps_decoder_set_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 containing the decoder's state.

Library:

libpps

Description:

The function pps_decoder_set_state() returns the decoder to a state obtained by a call to pps_decoder_get_state() by setting the current node of the decoder to the node indicated by the state argument.

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes