Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
f12ec1507af068ac508e486feb2050ebeb670f4b
/
.
/
none
/
tests
/
fdleak_open.c
blob: d477b3be7af2c578b7db30fccfc03896ef1cccd0 [
file
] [
log
] [
blame
]
#include
<fcntl.h>
#include
<unistd.h>
#include
"fdleak.h"
int
main
(
int
argc
,
char
**
argv
)
{
CLOSE_INHERITED_FDS
;
DO
(
open
(
"/dev/null"
,
O_RDONLY
)
);
return
0
;
}