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

Go to the source code of this file.

Functions

void test_main (void)
 Try writing to fd 0 (stdin), which may just fail or terminate the process with -1 exit code. More...
 

Function Documentation

◆ test_main()

void test_main ( void  )

Try writing to fd 0 (stdin), which may just fail or terminate the process with -1 exit code.

tests/main.h

Definition at line 10 of file write-stdin.c.

References buf, and write().

Here is the call graph for this function: