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 »
  • Determine link equality
  • Edit on GitHub

Determine link equality¶

ss_pers_eq is a function defined in sspers.c.

Synopsis:

htri_t ss_pers_eq(ss_pers_t *pers1, ss_pers_t *pers2)¶

Description: This function determines if two links point to the same object.

Return Value: Returns true (positive) if PERS1 and PERS2 refer to the same object without actually dereferencing the link, false if not, and negative on error. The names ss_pers_eq and ss_pers_equal come from LISP where the eq function tests whether its operands refer to the same object and equal that recursively compares its operands to determine if they have the same value.

Parallel Notes: Independent

See Also:

  • ss_pers_equal: 7.13: Determine object equality
  • 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.