xref: /csrg-svn/lib/libc/vax/sys/cerror.s (revision 21787)
1/*
2 * Copyright (c) 1983 Regents of the University of California.
3 * All rights reserved.  The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 */
6
7#ifndef lint
8static char sccsid[] = "@(#)cerror.s	5.1 (Berkeley) 06/03/85";
9#endif not lint
10
11#include "SYS.h"
12
13	.globl	_errno
14cerror:
15	movl	r0,_errno
16	mnegl	$1,r0
17	ret
18