diff options
| author | wiz <wiz@NetBSD.org> | 2003-10-06 18:27:45 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2003-10-06 18:27:45 +0000 |
| commit | da70036ee94e432902e767faebb6ddfa96e394fc (patch) | |
| tree | 861b42be0c6773a24091832795aa2cd04dab1ebd /gnu/dist/gawk/missing/memcmp.c | |
| parent | 244b99489257b8a234308dde6d1fa33ff65edf4b (diff) | |
Obsoleted by the update to 3.1.3 (moved to missing_d dir).
Diffstat (limited to 'gnu/dist/gawk/missing/memcmp.c')
| -rw-r--r-- | gnu/dist/gawk/missing/memcmp.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gnu/dist/gawk/missing/memcmp.c b/gnu/dist/gawk/missing/memcmp.c deleted file mode 100644 index 63cb5f8f740..00000000000 --- a/gnu/dist/gawk/missing/memcmp.c +++ /dev/null @@ -1,18 +0,0 @@ -/* - * memcmp --- compare strings. - * - * We use our own routine since it has to act like strcmp() for return - * value, and the BSD manual says bcmp() only returns zero/non-zero. - */ - -int -memcmp (s1, s2, l) -register char *s1, *s2; -register int l; -{ - for (; l-- > 0; s1++, s2++) { - if (*s1 != *s2) - return (*s1 - *s2); - } - return (0); -} |
