origin(3) LPC Library Functions origin(3)
NNAAMMEE
origin() - determine how the current function was called
SSYYNNOOPPSSIISS
int origin( void );
DDEESSCCRRIIPPTTIIOONN
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()
SSEEEE AALLSSOO
previous_object(3), /include/origin.h
MudOS 5 Sep 1994 1