freopen_unlocked_callee.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/stdio/c/sdcc_iy/freopen_unlocked_callee.asm

; FILE *freopen_unlocked_callee(char *filename, char *mode, FILE *stream)

SECTION code_clib
SECTION code_stdio

PUBLIC _freopen_unlocked_callee

EXTERN asm_freopen_unlocked

_freopen_unlocked_callee:

   pop af
   pop hl
   pop de
   pop ix
   push af
   
   jp asm_freopen_unlocked
