pps_decoder_pop()

Updated: October 26, 2022

Ascend to the parent of the current node

Synopsis:

#include <sys/pps.h>
            
pps_decoder_error_t pps_decoder_pop(pps_decoder_t *decoder);

Arguments:

decoder
A pointer to the PPS decoder structure.

Library:

libpps

Description:

The function pps_decoder_pop() ascends to the parent of the current object or array. Following this call, the current node will be the node that follows the object or array popped out of (that is, the sibling of the node that was current at the time this function was called).

Returns:

PPS_DECODER_OK
Success.
PPS_DECODER_POP_AT_ROOT
Already positioned at the root node.
>=1
An error occurred. See pps_decoder_error_t.

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes