getdelim_unlocked_callee.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/getdelim_unlocked_callee.asm

; size_t getdelim_unlocked_callee(char **lineptr, size_t *n, int delimiter, FILE *stream)

SECTION code_clib
SECTION code_stdio

PUBLIC _getdelim_unlocked_callee, l0_getdelim_unlocked_callee

EXTERN asm_getdelim_unlocked

_getdelim_unlocked_callee:

   pop af
   pop hl
   pop de
   pop bc
   exx
   pop bc
   push af

l0_getdelim_unlocked_callee:

   push bc
   exx
   
   ex (sp),ix
   
   call asm_getdelim_unlocked
   
   pop ix
   ret
