toaruos/apps/kdebug.c

17 lines
409 B
C
Raw Normal View History

2018-08-15 04:07:33 +03:00
/* vim: tabstop=4 shiftwidth=4 noexpandtab
* This file is part of ToaruOS and is released under the terms
2018-02-25 12:22:44 +03:00
* of the NCSA / University of Illinois License - see LICENSE.md
* Copyright (C) 2014-2018 K. Lange
2018-08-15 04:07:33 +03:00
*
* kdebug - Launch kernel shell
2018-02-25 12:22:44 +03:00
*/
#include <syscall.h>
#include <sys/wait.h>
int main(int argc, char * argv[]) {
2018-04-25 08:03:29 +03:00
syscall_system_function(7, NULL);
2018-02-25 12:22:44 +03:00
int status;
wait(&status);
return status;
}