Home
last modified time | relevance | path

Searched refs:Fortbuf (Results 1 – 1 of 1) sorted by relevance

/src/usr.bin/fortune/fortune/
H A Dfortune.c101 static char *Fortbuf = NULL; /* fortune buffer for -m */ variable
1266 Fortbuf = do_malloc((unsigned int) Fort_len + 10); in find_matches()
1319 sp = Fortbuf; in matches_in_list()
1331 for (p = Fortbuf; (ch = *p) != '\0'; ++p) { in matches_in_list()
1339 if (regexec(&Re_pat, Fortbuf, 0, NULL, 0) != REG_NOMATCH) { in matches_in_list()
1348 (void) fwrite(Fortbuf, 1, (sp - Fortbuf), stdout); in matches_in_list()
1350 sp = Fortbuf; in matches_in_list()