SAF User Manual
latest
  • Sets and Fields (SAF) API
  • SAF Examples
  • SAF Support Library
    • Table of Contents
      • Introduction [chapter]
      • Library [chapter]
      • Environment_Variables [chapter]
      • Error_Handling [chapter]
      • Magic_Numbers [chapter]
      • Properties [chapter]
      • Persistent_Objects [chapter]
        • Members
      • Persistent_Object_Tables [chapter]
      • Strings [chapter]
      • Variable_Length_Arrays [chapter]
      • Files [chapter]
      • Global_File_Information [chapter]
      • Scopes [chapter]
      • Object_Attributes [chapter]
      • Values [chapter]
      • HDF5 [chapter]
      • Datatypes [chapter]
      • Miscellaneous [chapter]
      • Notes [chapter]
      • Debugging [chapter]
      • Overloaded_Definitions [chapter]
      • Permuted_Index [chapter]
SAF User Manual
  • Docs »
  • SAF Support Library (SSlib) Programming Reference Manual for SAF 2.0.0 and later »
  • Persistent Objects »
  • Change link state
  • Edit on GitHub

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 the SS_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
Next Previous

© Copyright 2005-07-01, Sandia proj 28462, 002008MLTPL00, OSTI: 1230929. This documentation was automatically generated via Robb Matzke's Mkdoc Revision 565d7697.

Built with Sphinx using a theme provided by Read the Docs.