xref: /csrg-svn/lib/libc/mips/sys/cerror.s (revision 63455)
152724Sbostic/*-
2*63455Sbostic * Copyright (c) 1991, 1993
3*63455Sbostic *	The Regents of the University of California.  All rights reserved.
452724Sbostic *
552724Sbostic * This code is derived from software contributed to Berkeley by
652724Sbostic * Ralph Campbell.
752724Sbostic *
852724Sbostic * %sccs.include.redist.c%
952724Sbostic */
1052724Sbostic
1152724Sbostic#include "SYS.h"
1252724Sbostic
1352724Sbostic#if defined(LIBC_SCCS) && !defined(lint)
14*63455Sbostic	ASMSTR("@(#)cerror.s	8.1 (Berkeley) 06/16/93")
1552724Sbostic#endif /* LIBC_SCCS and not lint */
1652724Sbostic
1752724Sbostic	.globl	errno
1852724SbosticLEAF(_cerror)
1963454Smckusick	.set	noreorder
2052724Sbostic	sw	v0, errno
2152724Sbostic	li	v0, -1
2252724Sbostic	j	ra
2363454Smckusick	li	v1, -1
2452724SbosticEND(_cerror)
25