xref: /csrg-svn/lib/libc/vax/sys/cerror.s (revision 42642)
121787Sdist/*
221787Sdist * Copyright (c) 1983 Regents of the University of California.
334391Sbostic * All rights reserved.
434391Sbostic *
5*42642Sbostic * %sccs.include.redist.c%
621787Sdist */
79434Smckusick
834391Sbostic#if defined(SYSLIBC_SCCS) && !defined(lint)
9*42642Sbostic	.asciz "@(#)cerror.s	5.6 (Berkeley) 06/01/90"
1034391Sbostic#endif /* SYSLIBC_SCCS and not lint */
1121787Sdist
129434Smckusick#include "SYS.h"
139434Smckusick
149434Smckusick	.globl	_errno
159434Smckusickcerror:
169434Smckusick	movl	r0,_errno
179434Smckusick	mnegl	$1,r0
189434Smckusick	ret
19