Query an integer property¶
ss_prop_get_i
is a function defined in ssprop.c.
Synopsis:
-
int
ss_prop_get_i
(ss_prop_t *prop, const char *name)¶
Formal Arguments:
prop
: property list to be queriedname
: name of queried property
Description: This is a convenience function for querying integer-valued properties. See ss_prop_get for details.
Return Value: Returns -1 on failure. Since this can also be a valid property value, the caller should examine the error stack to determine if an error in fact occurred.
Parallel Notes: Independent
See Also:
- ss_prop_get: 6.11: Query a property value
- Properties: Introduction for current chapter