Sign in
android
/
platform
/
external
/
strace
/
5b3348ca5f0829c9149c01ade3904c8ff828bb62
/
.
/
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