|
|
1.1 root 1: /*
2: * Coherent Standard I/O Library
3: * Comparison of two strings for equality
4: * (not in portable stdio set).
5: */
6:
7: #include <stdio.h>
8:
9: streq(s1, s2)
10: register char *s1, *s2;
11: {
12: while (*s1 == *s2++)
13: if (*s1++ == '\0')
14: return (1);
15: return (0);
16: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.