genobj(3G)

genobj - returns a unique integer for use as an object identifier

As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.

NAME
     genobj - returns a unique integer for use as an object identifier

FORTRAN 77 SPECIFICATION
     integer*4 function genobj()

PARAMETERS
     none

FUNCTION RETURN VALUE
     The returned value for this function is an object identifier.

DESCRIPTION
     genobj generates unique 31-bit integer numbers for use as object
     identifiers.  Object identifiers can be up to 31 bits and must be unique
     within a program.  Be careful if you use a combination of user-defined
     and genobj-defined numbers to generate object numbers.  genobj will not
     generate an object name that is currently in use.  If there is any
     question, use isobj before using your own numbers.

SEE ALSO
     callob, gentag, isobj, makeob

NOTE
     This routine is available only in immediate mode.