#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 write system call.
tests/main.h
The process must be terminated with -1 exit code.
Definition at line 9 of file write-bad-ptr.c.
References CHECK, fail(), open(), and write().