shithub: scc

ref: 7db7502fee313e42ccf0506a0f0a65db26aa883a
dir: /src/libc/arch/i386/linux/_cerrno.s/

View raw version
	.file	"_cerrno.s"
	.globl	_cerrno

_cerrno:
	cmpl	$0,%eax
	js	1f
	ret

1:	neg	%eax
	mov	%eax,(errno)
	mov	$-1,%eax
	ret