pps_decoder_initialize()

Updated: October 26, 2022

Initialize the decoder structure

Synopsis:

#include <sys/pps.h>
            
pps_decoder_error_t pps_decoder_initialize(
                                    pps_decoder_t *decoder, 
                                    char *str);

Arguments:

decoder
A pointer to the decoder data type to initialize.
str
An initial NULL-terminated string to parse. If it's NULL, you must call pps_decoder_parse_pps_str() to parse the string.

Library:

libpps

Description:

The function pps_decoder_initialize() initializes the specified decoder structure from an unknown state.

Returns:

PPS_DECODER_OK
Success.
>=1
An error occurred. See pps_decoder_error_t.

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes