Lines Matching +full:no +full:- +full:wp
1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
22 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
36 * Mail -- a mail program
56 fail(linebuf, "No date field"); in ishead()
92 hl->l_from = NULL; in parse()
93 hl->l_tty = NULL; in parse()
94 hl->l_date = NULL; in parse()
102 * Check for missing return-path. in parse()
105 hl->l_date = copyin(cp, &sp); in parse()
110 hl->l_from = copyin(word, &sp); in parse()
113 hl->l_tty = copyin(word, &sp); in parse()
116 hl->l_date = copyin(cp, &sp); in parse()
145 * no seconds in the time. If the mail is created by another
147 * <-|+>nnnn (-0800 for instance) at the end.
165 "Aaa Aaa O0 00:00:00 0000 p0000", /* Mon Jan 01 23:59:59 2001 -0800 */
168 "Aaa Aaa O0 00:00 0000 p0000", /* Mon Jan 01 23:59 2001 -0800 */
244 nextword(char *wp, char *wbuf) in nextword() argument
248 if (wp == NULL) { in nextword()
252 while ((c = *wp++) != '\0' && c != ' ' && c != '\t') { in nextword()
255 while ((c = *wp++) != '\0' && c != '"') in nextword()
260 wp--; in nextword()
264 for (; c == ' ' || c == '\t'; c = *wp++) in nextword()
268 return (wp - 1); in nextword()