repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 385411 s390x: Tests and internals for z13 vector FP support
[valgrind.git]
/
none
/
tests
/
fdleak_open.c
blob
cf6a35e97c0335a907968073d3cf474da870d2cf
1
#include <fcntl.h>
2
#include <unistd.h>
3
#include
"fdleak.h"
4
5
int
main
(
int
argc
,
char
**
argv
)
6
{
7
CLOSE_INHERITED_FDS
;
8
9
(
void
)
DO
(
open
(
"/dev/null"
,
O_RDONLY
) );
10
11
return
0
;
12
}