ack/mach/sparc/libsys/cerror.s
1991-09-20 18:14:05 +00:00

15 lines
126 B
ArmAsm

.global _errno
.global cerror
cerror:
set _errno, %o5
st %o0, [%o5]
set -1, %o0
retl
nop
.seg "data"
_errno:
.long 0