endpic(3G)

endpic - turns off picking mode

As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.

NAME
     endpic - turns off picking mode

FORTRAN 77 SPECIFICATION
     integer*4 function endpic(buffer)
     integer*2 buffer(*)

PARAMETERS
     buffer   expects a buffer into which to append the contents of the name
              stack when a drawing routine draws in the picking region. Before
              writing the contents of the name stack, the system appends the
              number of entries it is about to append.  Thus, if the name
              stack contains the values, 5, 9, and 17; then endpic appends the
              values, 3, 5, 9,  and 17, to buffer.

              Because more than one drawing routine may have written in the
              picking region, it is possible for buffer to contain a number of
              readings from the name stack.

FUNCTION RETURN VALUE
     The returned value for the function is the number of times endpic wrote
     the names stack to buffer.

     If the returned function value is negative, then the buffer was too small
     to contain all the readings from the name stack.

DESCRIPTION
     endpic turns off picking mode and writes the hits to a buffer.

SEE ALSO
     initna, loadna, pick pushna, popnam

NOTE
     This routine is available only in immediate mode.