scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

_getheap.c (137B)


      1 #include <stddef.h>
      2 
      3 #include "../../libc.h"
      4 #include "../../syscall.h"
      5 #include "brk.h"
      6 
      7 void *
      8 _getheap(void)
      9 {
     10 	return _sys_brk(0);
     11 }