Lines Matching defs:line
69 #define MAXLINE 256 /* max size of a line */
252 /* read message from standard input (just from line) */
377 * Reads first line from standard input.
384 static char line[MAXLINE];
388 /* read the from line */
389 if (fgets(line, sizeof (line), stdin) == NULL ||
390 strncmp(line, "From ", 5) != NULL)
392 usrerr("No initial From line");
397 start = &line[5];
401 usrerr("Funny From line '%s'", line);
502 } else /* continuation line? */
577 char line[MAXLINE];
600 while (fgets(line, MAXLINE, f)) {
601 line_len = strlen(line);
603 if (line[line_len - 1] == '\n')
604 line[--line_len] = '\0';
609 if (line[0] == '#')
611 if (line[0] == '!') {
613 match_start = &line[1];
617 match_start = &line[0];
619 if (strchr(line, '@') != NULL) {
625 line);
633 * Make sure the last part of from is the domain line
645 line);
722 any8bitchars(line)
723 char *line;
727 for (c = line; *c; c++)
754 char line[MAXLINE];
820 while (fgets(line, MAXLINE, f)) {
822 * Check for a line with no ':' character. If it's just \n,
828 if (in_header && line[0] != '\0' && strchr(line, ':') == NULL) {
829 if (line[0] == '\n')
831 else if (!isspace(line[0])) {
836 p = strchr(line, '$');
839 seen8bitchars |= any8bitchars(line);
840 fputs(line, tmpf);
853 seen8bitchars |= any8bitchars(line);
854 fputs(line, tmpf);
882 while (fgets(line, MAXLINE, tmpf))
883 fputs(line, fpipe);
1030 char line[MAXLINE];
1104 while (fgets(line, MAXLINE, f))
1105 printf(" %s", line);
1147 char line[MAXLINE];
1153 res = fgets(line, sizeof (line), stdin);