2014-06-08 10:13:29 +04:00
|
|
|
/* This file is part of ToaruOS and is released under the terms
|
|
|
|
* of the NCSA / University of Illinois License - see LICENSE.md
|
|
|
|
* Copyright (C) 2014 Kevin Lange
|
|
|
|
*/
|
2014-04-12 09:43:39 +04:00
|
|
|
#include <syscall.h>
|
2014-04-27 12:37:33 +04:00
|
|
|
#include <sys/wait.h>
|
2014-04-12 09:43:39 +04:00
|
|
|
|
|
|
|
int main(int argc, char * argv[]) {
|
|
|
|
int pid = syscall_system_function(7, NULL);
|
2014-04-27 12:37:33 +04:00
|
|
|
int status;
|
|
|
|
wait(&status);
|
|
|
|
return status;
|
2014-04-12 09:43:39 +04:00
|
|
|
}
|