CS318 - Pintos
Pintos source browser for JHU CS318 course
Functions
wait-bad-pid.c File Reference
#include <syscall.h>
#include "tests/main.h"
Include dependency graph for wait-bad-pid.c:

Go to the source code of this file.

Functions

void test_main (void)
 Waits for an invalid pid. More...
 

Function Documentation

◆ test_main()

void test_main ( void  )

Waits for an invalid pid.

tests/main.h

This may fail or terminate the process with -1 exit code.

Definition at line 8 of file wait-bad-pid.c.

References wait().

Here is the call graph for this function: