Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
aaa7a77b5f79ec3b99806f5de9abdb5d70516b1d
/
.
/
tests
/
dup.c
blob: 62157e2ff8ffc828c3f1eca0f7a8fce95b5864bb [
file
] [
log
] [
blame
]
#include
"tests.h"
#include
<stdio.h>
#include
<unistd.h>
int
main
(
void
)
{
int
rc
=
dup
(-
1
);
printf
(
"dup(-1) = %d %s (%m)\n"
,
rc
,
errno2name
());
puts
(
"+++ exited with 0 +++"
);
return
0
;
}