
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     From simul_efun object

       16    call_out()

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

MudOS                       5 Sep 1994                          1

