shithub: scc

ref: 994751d39485e086ef623f202fb1b84729fd5d19
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