File: m2l_ne.c

package info (click to toggle)
m2c 0.6-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,096 kB
  • ctags: 1,907
  • sloc: ansic: 18,088; sh: 168; makefile: 60
file content (16 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Run-time function for Modula-2 comparing long memory values on inequality.
   Copyright (C) 1993-1997 (see more details in file COPYING).

   This file is part of Modula-2 translator.  */


int
m2_ne (str1, str2, l)
     register char *str1, *str2;
     register unsigned int l;
{
  while (l-- != 0)
    if (*str1++ != *str2++)
      return 1;
  return 0;
}