Obtain file for an object¶
ss_pers_file
is a function defined in sspers.c.
Synopsis:
-
ss_file_t *
ss_pers_file
(ss_pers_t *pers, ss_file_t *file)¶
Formal Arguments:
pers
: Persistent object link to queryfile [OUT]
: Optional buffer for the result file link
Description: Every persistent object belongs to a file and this function returns a link to that file.
Return Value: On success, returns a link to the file containing pers
. If the caller supplied a buffer for the result in the
file
argument then that’s the success pointer returned. Returns the null pointer on failure.
Parallel Notes: Independent
See Also:
- Persistent Objects: Introduction for current chapter