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 »
  • Create an object link
  • Edit on GitHub

Create an object link¶

ss_pers_refer is a function defined in sspers.c.

Synopsis:

ss_pers_t * ss_pers_refer(ss_scope_t *scope, ss_persobj_t *persobj, ss_pers_t *pers)¶

Formal Arguments:

  • scope: The scope to which persobj belongs.
  • persobj: The object to which the new link will point.
  • pers: Optional memory for the link.

Description: This function creates (or fills in) a link to a new object that exists in memory.

Return Value: Returns a pointer to a persisent object link (either the supplied pers or a newly allocated one) on success; the null pointer 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.