getpat(3G)

getpat - returns the index of the current pattern

As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.

NAME
     getpat - returns the index of the current pattern

FORTRAN 77 SPECIFICATION
     integer*4 function getpat

PARAMETERS
     none

FUNCTION RETURN VALUE
     The returned value of this function is an index into the table of
     available patterns.

DESCRIPTION
     getpat returns the index of the current pattern from the table of
     available patterns.

SEE ALSO
     defpat, setpat

NOTE
     This routine is available only in immediate mode.