shithub: scc

ref: a7e3b10d2eb8c277917a18fd235540ccc4064964
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