Logo Search packages:      
Sourcecode: ucspi-tcp version File versions  Download package

str_start.c

#include "str.h"

int str_start(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;
  }
}

Generated by  Doxygen 1.6.0   Back to index