Change link state¶
ss_pers_state
is a function defined in sspers.c.
Synopsis:
-
herr_t
ss_pers_state
(ss_pers_t *pers, ss_pers_link_state_t state)¶
Formal Arguments:
pers
: The persistent object link whose state is to be changed.state
: Desired state for the link, one of theSS_PERS_LINK
constants.
Description: A persistent object link can be in either a Closed or Memory state (not including the Filed state of links as they appear in a file). This function moves a link from state to state and also makes sure all the information in the link is up to date.
Return Value: Returns non-negative on success; negative on failure.
Parallel Notes: Independent
See Also:
- Persistent Objects: Introduction for current chapter