NAME origin - determine origin of last call SYNOPSIS int origin() DESCRIPTION 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() Config.h must define MUDOS_ORIGIN for this function to exist. SEE ALSO efun/previous_function, efun/previous_program, origin.h