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

Go to the source code of this file.

Functions

void test_main (void)
 Tries to close an invalid fd, which must either fail silently or terminate with exit code -1. More...
 

Function Documentation

◆ test_main()

void test_main ( void  )

Tries to close an invalid fd, which must either fail silently or terminate with exit code -1.

tests/main.h

Definition at line 8 of file close-bad-fd.c.

References close().

Here is the call graph for this function: