• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "tests.h"
2 #include <asm/unistd.h>
3 
4 #ifdef __NR_brk
5 
6 # include <stdio.h>
7 # include <unistd.h>
8 
9 int
main(void)10 main(void)
11 {
12 	long rc = syscall(__NR_brk, NULL);
13 	printf("brk\\(NULL\\) = %#lx\n", rc);
14 
15 	return 0;
16 }
17 
18 #else
19 
20 SKIP_MAIN_UNDEFINED("__NR_brk")
21 
22 #endif
23