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

Go to the source code of this file.

Functions

void test_main (void)
 Try a 0-byte read, which should return 0 without reading anything. More...
 

Function Documentation

◆ test_main()

void test_main ( void  )

Try a 0-byte read, which should return 0 without reading anything.

tests/main.h

Definition at line 9 of file read-zero.c.

References buf, byte_cnt(), CHECK, fail(), open(), and read().

Here is the call graph for this function: