shithub: scc

ref: 041d2d96655de6afaac6b20437df8897b03f6c92
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