PKUOS - Pintos
Pintos source browser for PKU Operating System course
Functions
exec-missing.c File Reference
#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"
Include dependency graph for exec-missing.c:

Go to the source code of this file.

Functions

void test_main (void)
 Tries to execute a nonexistent process. More...
 

Function Documentation

◆ test_main()

void test_main ( void  )

Tries to execute a nonexistent process.

tests/main.h

The exec system call must return -1.

Definition at line 9 of file exec-missing.c.

References exec(), and msg().

Here is the call graph for this function: