.\"determine how the current function was called .DT origin $MUDNAME$ driver help origin .SH Name .SI 5 origin() - determine how the current function was called .EI .SH Synopsis .SI 5 string origin( void ); .EI .SH Description .SP 5 5 Returns an string specifying how the current function was called. These values can be found in <include/origin.h>. Current values are: .EP .SI 5 * "driver" - from the driver: applies, heart_beats, etc * "local" - local function call * "call_other" - call_other * "simul" - use of a simul_efun * "call_out" - via a call_out * "efun" - from an efun that takes a function pointer (sort_array, etc) .EI .SH See also .SI 5 previous_object() .EI