PKUOS - Pintos
Pintos source browser for PKU Operating System 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
6void
7test_main (void)
8{
9 wait (exec ("child-args childarg"));
10}
void test_main(void)
Tests argument passing to child processes.
Definition: exec-arg.c:7
static void wait(struct intq *q, struct thread **waiter)
pid_t exec(const char *file)
Definition: syscall.c:79