Sign in
ara-mdk
/
platform
/
external
/
valgrind
/
1cd04c8275bf97407494e356ee07f1f7d38517bd
/
.
/
main
/
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
;
}