newlib-cygwin/newlib/libc/sys/sysvi386/chmod.s

10 lines
108 B
ArmAsm

.globl _chmod
.globl chmod
_chmod:
chmod:
movl $0xf, %eax
lcall $7,$0
jb _cerror
xor %eax, %eax
ret