Return the current error status of the decoder
#include <sys/pps.h> pps_decoder_error_t pps_decoder_status( pps_decoder_t *decoder, bool clear);
libpps
The function pps_decoder_status() returns the current error status of the decoder. If an error occurs during an attempt to extract data or push into objects, the decoder is set to an error state. Rather than check return codes after every operation, you can perform a series and then check if the entire set completed successfully.
The error status of the decoder. See pps_decoder_error_t.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |