date and time created 80/10/30 00:35:13 by mckusick
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Thu, 30 Oct 1980 16:35:13 +0000 (08:35 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Thu, 30 Oct 1980 16:35:13 +0000 (08:35 -0800)
SCCS-vsn: usr.bin/pascal/libpc/RELTLE.c 1.1

usr/src/usr.bin/pascal/libpc/RELTLE.c [new file with mode: 0644]

diff --git a/usr/src/usr.bin/pascal/libpc/RELTLE.c b/usr/src/usr.bin/pascal/libpc/RELTLE.c
new file mode 100644 (file)
index 0000000..f8be935
--- /dev/null
@@ -0,0 +1,21 @@
+/* Copyright (c) 1979 Regents of the University of California */
+
+static char sccsid[] = "@(#)RELTLE.c 1.1 %G%";
+
+#include "h00vars.h"
+
+RELTLE(bytecnt, left, right)
+
+       int             bytecnt;
+       register long   *left;
+       register long   *right;
+{
+       register int    longcnt;
+
+       longcnt = bytecnt >> 2;
+       do      {
+               if ((*left++ & ~*right++) != 0) 
+                       return FALSE;
+       } while (--longcnt);
+       return TRUE;
+}