ack/mach/sparc/libsys/cerror.s

15 lines
126 B
ArmAsm
Raw Normal View History

1991-09-20 18:14:05 +00:00
.global _errno
.global cerror
cerror:
set _errno, %o5
st %o0, [%o5]
set -1, %o0
retl
nop
.seg "data"
_errno:
.long 0