pps_encoder_delete_attribute()

Updated: October 26, 2022

Add an attribute and mark it as deleted

Synopsis:

#include <sys/pps.h>
            
pps_encoder_error_t pps_encoder_delete_attribute(
                                    pps_encoder_t *encoder, 
                                    const char *name);

Arguments:

encoder
A pointer to the PPS encoder structure.
name
The name of the deleted attribute.

Library:

libpps

Description:

The function pps_encoder_delete_attribute() deletes an attribute from the current object. This call is valid only if encoding PPS data and only when called at the highest level.

Returns:

PPS_ENCODER_OK
Success.
>=1
An error occurred. See pps_decoder_error_t.
Note: The status is sticky. If a call to encode something fails, all subsequent calls will show failure until the encoder is reset.

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes