xref: /csrg-svn/lib/libc/vax/sys/cerror.s (revision 22318)
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
8_sccsid:.asciz	"@(#)cerror.s	5.2 (Berkeley) 06/05/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