blob: 2750af864d02391a60f53a60198a0300a5bdb061 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "str.h"
int str_start(s,t)
register char *s;
register char *t;
{
register char x;
for (;;) {
x = *t++; if (!x) return 1; if (x != *s++) return 0;
x = *t++; if (!x) return 1; if (x != *s++) return 0;
x = *t++; if (!x) return 1; if (x != *s++) return 0;
x = *t++; if (!x) return 1; if (x != *s++) return 0;
}
}
|