
origin(3)             LPC Library Functions             origin(3)

NNAAMMEE
       origin() - determine how the current function was called

SSYYNNOOPPSSIISS
       int origin( void );

DDEESSCCRRIIPPTTIIOONN
       Returns an integer specifying how the current function was
       called.  Current values are:

       1      Driver (heart_beats, etc)

       2      Local function call

       4      call_other()

       8      simul_efun object via a simul_efun call

       16     call_out()

       32     called by an efun (sort_array, etc)

SSEEEE AALLSSOO
       previous_object(3), /include/origin.h

Majik                      26 Jul 1997                          1

