#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"
Go to the source code of this file.
Opens a file and then tries to close it twice.
tests/main.h
The second close must either fail silently or terminate with exit code -1.
Definition at line 10 of file close-twice.c.
References CHECK, close(), msg(), and open().