brk.c 233 B

12345678910111213
  1. /* $Source: /cvsroot/tack/Ack/plat/linux386/libsys/brk.c,v $
  2. * $State: Exp $
  3. * $Revision: 1.1 $
  4. */
  5. #include <stdlib.h>
  6. #include <unistd.h>
  7. #include "libsys.h"
  8. int brk(void* end)
  9. {
  10. return _syscall(__NR_brk, (quad) end, 0, 0);
  11. }