shithub: scc

ref: 46b51055e0657109fb95d93022d2e1614290311e
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