xref: /original-bsd/lib/libc/mips/sys/cerror.s (revision 3705696b)
1/*-
2 * Copyright (c) 1991, 1993
3 *	The Regents of the University of California.  All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Ralph Campbell.
7 *
8 * %sccs.include.redist.c%
9 */
10
11#include "SYS.h"
12
13#if defined(LIBC_SCCS) && !defined(lint)
14	ASMSTR("@(#)cerror.s	8.1 (Berkeley) 06/16/93")
15#endif /* LIBC_SCCS and not lint */
16
17	.globl	errno
18LEAF(_cerror)
19	.set	noreorder
20	sw	v0, errno
21	li	v0, -1
22	j	ra
23	li	v1, -1
24END(_cerror)
25