2014-06-07 23:13:29 -07: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-11 22:43:39 -07:00
|
|
|
#include <syscall.h>
|
2014-04-27 01:37:33 -07:00
|
|
|
#include <sys/wait.h>
|
2014-04-11 22:43:39 -07:00
|
|
|
|
|
|
|
int main(int argc, char * argv[]) {
|
|
|
|
int pid = syscall_system_function(7, NULL);
|
2014-04-27 01:37:33 -07:00
|
|
|
int status;
|
|
|
|
wait(&status);
|
|
|
|
return status;
|
2014-04-11 22:43:39 -07:00
|
|
|
}
|