/*===========================================================================* * sef_cb_signal_handler * *===========================================================================*/ static void sef_cb_signal_handler(int signo) { /* Check for known signals, ignore anything else. */ switch(signo) { /* There is a pending message from the kernel. */ case SIGKMESS: do_new_kmess(); break; /* Switch to primary console on termination. */ case SIGTERM: cons_stop(); break; } }
void cli_cmd_quit(size_t argc,const sASTNode **argv) { UNUSED(argc); UNUSED(argv); cons_stop(); }