xref: /csrg-svn/lib/libc/hp300/sys/cerror.s (revision 41844)
1*41844Sbostic/*-
2*41844Sbostic * Copyright (c) 1990 The Regents of the University of California.
3*41844Sbostic * All rights reserved.
4*41844Sbostic *
5*41844Sbostic * This code is derived from software contributed to Berkeley by
6*41844Sbostic * the Systems Programming Group of the University of Utah Computer
7*41844Sbostic * Science Department.
8*41844Sbostic *
9*41844Sbostic * %sccs.include.redist.c%
10*41844Sbostic */
11*41844Sbostic
12*41844Sbostic#if defined(LIBC_SCCS) && !defined(lint)
13*41844Sbostic	.asciz "@(#)cerror.s	5.1 (Berkeley) 05/12/90"
14*41844Sbostic#endif /* LIBC_SCCS and not lint */
15*41844Sbostic
16*41844Sbostic#include "SYS.h"
17*41844Sbostic
18*41844Sbostic	.globl	_errno
19*41844Sbosticcerror:
20*41844Sbostic	movl	d0,_errno
21*41844Sbostic	movl	#-1,d0
22*41844Sbostic	rts
23