xref: /csrg-svn/usr.bin/pascal/libpc/RELTLE.c (revision 62096)
140865Sbostic /*-
2*62096Sbostic  * Copyright (c) 1979, 1993
3*62096Sbostic  *	The Regents of the University of California.  All rights reserved.
440865Sbostic  *
540865Sbostic  * %sccs.include.redist.c%
640865Sbostic  */
71692Smckusick 
840865Sbostic #ifndef lint
9*62096Sbostic static char sccsid[] = "@(#)RELTLE.c	8.1 (Berkeley) 06/06/93";
1040865Sbostic #endif /* not lint */
111692Smckusick 
121692Smckusick #include "h00vars.h"
131692Smckusick 
143023Smckusic bool
RELTLE(bytecnt,left,right)151692Smckusick RELTLE(bytecnt, left, right)
161692Smckusick 
173023Smckusic 	long		bytecnt;
181692Smckusick 	register long	*left;
191692Smckusick 	register long	*right;
201692Smckusick {
211692Smckusick 	register int	longcnt;
221692Smckusick 
231692Smckusick 	longcnt = bytecnt >> 2;
241692Smckusick 	do	{
251692Smckusick 		if ((*left++ & ~*right++) != 0)
261692Smckusick 			return FALSE;
271692Smckusick 	} while (--longcnt);
281692Smckusick 	return TRUE;
291692Smckusick }
30