Lines Matching defs:buf
24 char buf[MAX_LEN];26 while (fgets (buf, MAX_LEN, stdin))28 if (strlen (buf) > 0 && buf[strlen (buf) - 1] == '\n')29 buf[strlen (buf) - 1] = '\0';31 if (in_word_set (buf, strlen (buf)))34 printf ("in word set %s\n", buf);39 printf ("NOT in word set %s\n", buf);