Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
602998be62493f75562204f6bb391c7095352de9
/
.
/
tests
/
getuid.c
blob: 25731c8b27ed1aa8325cc2bdc90f840d63e0171c [
file
] [
log
] [
blame
]
#include
"tests.h"
#include
<sys/syscall.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