Logo Search packages:      
Sourcecode: daemontools version File versions  Download package

str_start.c

/* Public domain. */

#include "str.h"

int str_start(register const char *s,register const 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