Function set_exit_check:
Defined in module m_exit (file: /std/modules/m_exit.c)

Function setting the check funciton for the exit

Prototype:
void set_exit_check(string direction, function f);
