gpputname, gpsamename - TDF name functions

SYNOPSIS

#include <gp.h>

char *gpputname(dest, name)

int gpsamename(name1, name2)

DESCRIPTION

The functions described here set and compare TDF object names.

gpputname copies name into dest, transferring at most GP_MAX_NAME characters, and guarantees that dest is terminated by a trailing \ character.

gpsamename compares two names, returning true if they are judged to be the same. Application families may wish to provide their own version of gpsamename. The default TeraScan version of gpsamename does case-sensitive character comparison for up to GP_MAX_NAME characters.

RETURN VALUES

gpputname returns the pointer dest. gpsamename returns true if name1 and name2 are judged to be the same, and false otherwise.

ERRORS

None.

FILES

include/gp.h, /usr/include/errno.h, lib/libcdf.a

SEE ALSO

gpatt, gpdim, gperr, gpio, gplink, gprel, gpset, gptype, gpvar, datasets

NOTES

None.


Last Update: $Date: 2001/12/14 21:22:19 $