#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"
Go to the source code of this file.
Passes an invalid pointer to the read system call.
tests/main.h
The process must be terminated with -1 exit code.
Definition at line 9 of file read-bad-ptr.c.
References CHECK, fail(), open(), and read().