dup2_callee.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/fcntl/c/sccz80/dup2_callee.asm

; int dup2(int fd, int fd2)

SECTION code_clib
SECTION code_fcntl

PUBLIC dup2_callee

EXTERN asm_dup2

dup2_callee:

   pop hl
   pop de
   ex (sp),hl
   
   jp asm_dup2
