12 lines
199 B
C
12 lines
199 B
C
|
/* Tries to close an invalid fd, which must either fail silently
|
||
|
or terminate with exit code -1. */
|
||
|
|
||
|
#include <syscall.h>
|
||
|
#include "tests/main.h"
|
||
|
|
||
|
void
|
||
|
test_main (void)
|
||
|
{
|
||
|
close (0x20101234);
|
||
|
}
|