2018-02-25 12:22:44 +03:00
|
|
|
/* This file is part of ToaruOS and is released under the terms
|
|
|
|
* of the NCSA / University of Illinois License - see LICENSE.md
|
2018-05-01 11:12:56 +03:00
|
|
|
* Copyright (C) 2014-2018 K. Lange
|
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;
|
|
|
|
}
|