CS318 - Pintos
Pintos source browser for JHU CS318 course
exec-arg.c
Go to the documentation of this file.
1 /** Tests argument passing to child processes. */
2 
3 #include <syscall.h>
4 #include "tests/main.h"
5 
6 void
7 test_main (void)
8 {
9  wait (exec ("child-args childarg"));
10 }
exec
pid_t exec(const char *file)
Definition: syscall.c:79
wait
static void wait(struct intq *q, struct thread **waiter)
main.h
test_main
void test_main(void)
Tests argument passing to child processes.
Definition: exec-arg.c:7