newlib-cygwin/newlib/libc/sys/sysvi386/chdir.S

10 lines
108 B
ArmAsm

.globl _chdir
.globl chdir
_chdir:
chdir:
movl $0xc, %eax
lcall $7,$0
jb _cerror
xor %eax, %eax
ret