xref: /csrg-svn/usr.bin/pascal/libpc/RELTLE.c (revision 40865)
1*40865Sbostic /*-
2*40865Sbostic  * Copyright (c) 1979 The Regents of the University of California.
3*40865Sbostic  * All rights reserved.
4*40865Sbostic  *
5*40865Sbostic  * %sccs.include.redist.c%
6*40865Sbostic  */
71692Smckusick 
8*40865Sbostic #ifndef lint
9*40865Sbostic static char sccsid[] = "@(#)RELTLE.c	1.3 (Berkeley) 04/09/90";
10*40865Sbostic #endif /* not lint */
111692Smckusick 
121692Smckusick #include "h00vars.h"
131692Smckusick 
143023Smckusic bool
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