home *** CD-ROM | disk | FTP | other *** search
/ Atari FTP / ATARI_FTP_0693.zip / ATARI_FTP_0693 / Mint / mntlib32.zoo / sozobon / lmalloc.s < prev    next >
Text File  |  1992-05-15  |  529b  |  22 lines

  1. ; 5/2/92 sb
  2. ; Long-allocation routines.  As per Eric Smith's advice, they are actually
  3. ; implemented as _malloc(), _realloc() and _calloc() over in malloc.c in
  4. ; order to reduce name-space pollution; here we're just giving them
  5. ; "real" names.
  6.  
  7.     .text
  8.     .globl    _lmalloc
  9. ; void *lmalloc(unsigned long n)
  10. _lmalloc:
  11.     jmp    __malloc
  12.  
  13.     .globl    _lrealloc
  14. ; void *lrealloc(void *r, unsigned long n)
  15. _lrealloc:
  16.     jmp    __realloc
  17.  
  18.     .globl    _lcalloc
  19. ; void *calloc(unsigned long n, unsigned long size)
  20. _lcalloc:
  21.     jmp    __calloc
  22.