xref: /csrg-svn/lib/libc/tahoe/sys/cerror.s (revision 42648)
129445Ssam/*
229445Ssam * Copyright (c) 1983 Regents of the University of California.
334389Sbostic * All rights reserved.
434389Sbostic *
5*42648Sbostic * %sccs.include.redist.c%
629445Ssam */
729445Ssam
834389Sbostic#if defined(SYSLIBC_SCCS) && !defined(lint)
9*42648Sbostic	.asciz "@(#)cerror.s	5.4 (Berkeley) 06/01/90"
1034389Sbostic#endif /* SYSLIBC_SCCS and not lint */
1129445Ssam
1229445Ssam#include "SYS.h"
1329445Ssam
1429445Ssam	.globl	_errno
1529445Ssamcerror:
1629445Ssam	movl	r0,_errno
1729445Ssam	mnegl	$1,r0
1829445Ssam	ret
19