pps_decoder_get_int64()
Extract a 64-bit integer value from the current or named node
Synopsis:
#include <sys/pps.h>
pps_decoder_error_t pps_decoder_get_int64(
pps_decoder_t *decoder,
const char *name,
int64_t *value);
Arguments:
- decoder
- A pointer to the PPS decoder structure.
- name
- The name of the property to extract the value from. Specify NULL to extract the data from the current node.
- value
- A pointer to a 64-bit integer to take the result.
Library:
libpps
Description:
The function pps_decoder_get_int64() extracts a 64-bit integer value from the current node or the node of the specified name. Following successful extraction, the decoder advances to the next node.
Returns:
- PPS_DECODER_OK
- Success.
- PPS_DECODER_BAD_TYPE
- There was a type mismatch.
- PPS_DECODER_DELETED
- The attribute was deleted.
- PPS_DECODER_NOT_FOUND
- The specified node doesn't exist.
- PPS_DECODER_CONVERSION_FAILED
- The value of the attribute is outside the range or would lose precision when converted to the specified type.
Classification:
QNX Neutrino
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
Page updated:
