Lines Matching refs:line
266 char *cp, line[LINE_MAX];
607 while (fgets(line, sizeof(line), fd) != NULL) {
608 if ((cp = strchr(line, '\n')) != NULL)
610 lreply(530, "%s", line);
623 while (fgets(line, sizeof(line), fd) != NULL) {
624 if ((cp = strchr(line, '\n')) != NULL)
626 lreply(220, "%s", line);
677 char *cp, *mp, *line;
713 while ((line = fgetln(fp, &len)) != NULL) {
717 if (line[0] == '#')
719 if (line[len - 1] == '\n') {
720 line[len - 1] = '\0';
725 memcpy(mp, line, len);
727 line = mp;
729 cp = strtok(line, " \t");
742 * Preparse the line so we can use its info
1092 * of the matching line in "residue" if not NULL.
1100 char *line, *mp, *p;
1105 while (!found && (line = fgetln(fd, &len)) != NULL) {
1107 if (line[0] == '#')
1109 if (line[len - 1] == '\n') {
1110 line[len - 1] = '\0';
1115 memcpy(mp, line, len);
1117 line = mp;
1120 p = strtok(line, " \t");
1156 * Save the rest of line to "residue" if matched
1529 * b) extract the directory pathname from the line,
1615 char *cp, line[LINE_MAX];
1617 while (fgets(line, sizeof(line), fd) != NULL) {
1618 if ((cp = strchr(line, '\n')) != NULL)
1620 lreply(230, "%s", line);
1689 char line[BUFSIZ];
1695 (void) snprintf(line, sizeof(line), cmd, name);
1696 name = line;
1697 fin = ftpd_popen(line, "r"), closefunc = ftpd_pclose;
2360 char line[LINE_MAX];
2364 (void)snprintf(line, sizeof(line), _PATH_LS " -lgA %s", filename);
2365 fin = ftpd_popen(line, "r");