Count matching attributes¶
ss_attr_count
is a function defined in ssattr.c.
Synopsis:
-
size_t
ss_attr_count
(ss_pers_t *owner, const char *name)¶
Description: Counts the number of attributes that belong to owner
and have the optional string name
as their name. If no
name
is supplied then all attributes belonging to owner
are counted.
Return Value: On success, the number of attributes found to match the owner
and name
pair; SS_NOSIZE
on failure.
Parallel Notes: Independent
See Also:
- Object Attributes: Introduction for current chapter