Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
304752e0d49253a8409118d948d31ef3a7b2bc6b
/
.
/
tests-mx32
/
getuid.c
blob: 57311f72dab32aa59f7ff4e4f5378fc8596c2f99 [
file
] [
log
] [
blame
]
#include
"tests.h"
#include
<asm/unistd.h>
#ifdef
__NR_getuid
# include <stdio.h>
# include <unistd.h>
int
main
(
void
)
{
printf
(
"getuid() = %ld\n"
,
syscall
(
__NR_getuid
));
return
0
;
}
#else
SKIP_MAIN_UNDEFINED
(
"__NR_getuid"
)
#endif