libc/newlib/libc/sys/sysvi386/cerror.S

10 lines
102 B
ArmAsm

.globl _cerror
_cerror:
movl %eax, errno
movl $-1, %eax
ret
.data
.globl errno
errno: .long 0