Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
77c3ff8e0644f1e120e4b2ebc7222150b0446f3b
/
.
/
tests-m32
/
brk.c
blob: 572ebd61f0bfd32548546b937808f50f0a26cf48 [
file
] [
log
] [
blame
]
#include
"tests.h"
#include
<asm/unistd.h>
#ifdef
__NR_brk
# include <stdio.h>
# include <unistd.h>
int
main
(
void
)
{
long
rc
=
syscall
(
__NR_brk
,
NULL
);
printf
(
"brk\\(NULL\\) = %#lx\n"
,
rc
);
return
0
;
}
#else
SKIP_MAIN_UNDEFINED
(
"__NR_brk"
)
#endif