DATAMANIP (ksegops) functions


LIBRARY ROUTINE

lksegcmp_attributes - compare segment and/or global attributes of two objects

LIBRARY CALL

int lksegcmp_attributes(
    kobject obj1,
    kobject obj2,
    char   *segment,
    kfile  *outfile,
    int     run_silent)

INPUT

OUTPUT

RETURN VALUE

TRUE (1) if the attributes all match, FALSE (0) otherwise

DESCRIPTION

This routine compares attributes between two data objects. If a segment is specified, then the attributes for that segment is compared across the two data objects. The size, data type, dimensionality, and index order attributes are ignored. If no segment is specified, then the object-level attributes are compared.

The attribute differences are printed to a specified output file, unless the run_silent argument is set, in which case nothing is printed.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

Only defined attributes are compared. User created attributes are not considered in the comparison.

MODIFICATION

none

FILES

$DATAMANIP/objects/library/ksegops/src/lksegcmp.c

SEE ALSO

ksegops(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.