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

; char *fgets(char *s, int n, FILE *stream)

SECTION code_clib
SECTION code_stdio

PUBLIC _fgets_unlocked

EXTERN asm_fgets_unlocked

_fgets_unlocked:

   pop af
   pop de
   pop bc
   pop ix
   
   push hl
   push bc
   push de
   push af
   
   jp asm_fgets_unlocked
