shithub: scc

ref: 1d263bb8b0a2b372050ec285a1306431c203542e
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