Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
dcc7a3c1c68455bffe16b5c4cd32ea1b92a5a4d1
/
.
/
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
;
}