xref: /csrg-svn/lib/libc/tahoe/sys/cerror.s (revision 34389)
129445Ssam/*
229445Ssam * Copyright (c) 1983 Regents of the University of California.
3*34389Sbostic * All rights reserved.
4*34389Sbostic *
5*34389Sbostic * Redistribution and use in source and binary forms are permitted
6*34389Sbostic * provided that this notice is preserved and that due credit is given
7*34389Sbostic * to the University of California at Berkeley. The name of the University
8*34389Sbostic * may not be used to endorse or promote products derived from this
9*34389Sbostic * software without specific written prior permission. This software
10*34389Sbostic * is provided ``as is'' without express or implied warranty.
1129445Ssam */
1229445Ssam
13*34389Sbostic#if defined(SYSLIBC_SCCS) && !defined(lint)
14*34389Sbostic_sccsid:.asciz	"@(#)cerror.s	5.2 (Berkeley) 05/20/88"
15*34389Sbostic#endif /* SYSLIBC_SCCS and not lint */
1629445Ssam
1729445Ssam#include "SYS.h"
1829445Ssam
1929445Ssam	.globl	_errno
2029445Ssamcerror:
2129445Ssam	movl	r0,_errno
2229445Ssam	mnegl	$1,r0
2329445Ssam	ret
24