nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

str_start.c (310B)


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