shithub: scc

ref: 3e30a4a17fcd1bdaccf00bef07bdce99f285e0ef
dir: /src/libc/arch/amd64/linux/_cerrno.s/

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

_cerrno:
	cmpq	$0,%rax
	js	1f
	retq

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