pps_encoder_add_int64()

Add a 64-bit integer to the current object or array

Synopsis:

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

Arguments:

encoder
A pointer to the PPS encoder structure.
name
If the current node is an object, the name of the new attribute. If within an array, this must be NULL.
value
The 64-bit integer value to add.

Library:

libpps

Description:

The function pps_encoder_add_int64() adds a 64-bit integer value to the current object or array.

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