gentag(3G)

gentag - returns a unique integer for use as a tag

As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.

NAME
     gentag - returns a unique integer for use as a tag

C SPECIFICATION
     Tag gentag()

PARAMETERS
     none

FUNCTION RETURN VALUE
     The returned value for this function is a tag number.

DESCRIPTION
     gentag generates a unique integer to use as a tag.  Tags must be unique
     within an object.  Although gentag generates unique tags, if you later
     define a tag with the same value, the first tag is lost.

SEE ALSO
     genobj, istag

NOTE
     This routine is available only in immediate mode.