Returns the state of the process currently being debugged. If the process is suspended, -1 is returned, 1 if the process is running or 0 if there is no process running under the debugger.
Examples:
#include <dbg.hpp>
switch (get_process_state())
{
case 0:
msg("No process running.\n");
break;
case -1:
msg("Process is suspended.\n");
break;
case 1:
msg("Process is running.\n");
break;
default:
msg("Unknown status.\n");
}