PKUOS - Pintos
Pintos source browser for PKU Operating System course
Functions
create-bad-ptr.c File Reference
#include "tests/lib.h"
#include "tests/main.h"
Include dependency graph for create-bad-ptr.c:

Go to the source code of this file.

Functions

void test_main (void)
 Passes a bad pointer to the create system call, which must cause the process to be terminated with exit code -1. More...
 

Function Documentation

◆ test_main()

void test_main ( void  )

Passes a bad pointer to the create system call, which must cause the process to be terminated with exit code -1.

tests/main.h

Definition at line 9 of file create-bad-ptr.c.

References create(), and msg().

Here is the call graph for this function: