x_search
static int x_search(char *, int, int);
offset = x_search(pat, 0, offset);
offset = x_search(pat, 1, offset);