Create a new property list from an existing list¶
ss_prop_dup
is a function defined in ssprop.c.
Synopsis:
-
ss_prop_t *
ss_prop_dup
(ss_prop_t *prop, const char *name)¶
Formal Arguments:
prop
: source property listname
: optional name for debugging
Description: Duplicates an existing property list, giving it a new name (or a name generated from the source property
list). The new property list’s property names, values, and datatypes are copied from the specified prop
list.
The new list is marked as appendable (new properties can be added) and modifiable (property values can be
changed).
Return Value: Returns a new property list on success; null on failure.
Parallel Notes: Independent
See Also:
- Properties: Introduction for current chapter