summaryrefslogtreecommitdiff
path: root/gfrom.c
blob: 87f9ad41fa945de808cf84f124216f75c2fe9895 (plain)
1
2
3
4
5
6
7
8
9
10
#include "str.h"
#include "gfrom.h"

int gfrom(s,len)
char *s;
int len;
{
 while ((len > 0) && (*s == '>')) { ++s; --len; }
 return (len >= 5) && !str_diffn(s,"From ",5);
}