summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/rtems/rtems-shell.c
blob: d1bc6631bb90ba31ec4a7e589ee9caf4b744f86b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14


#include <err.h>

rtems_shell_globals_t *rtems_shell_globals;

void
rtems_shell_exit (int code)
{
  rtems_shell_globals->exit_code = code;
  longjmp (rtems_shell_globals->exit_jmp, 1);
}