Lines Matching refs:line
273 char *cp, line[LINE_MAX];
614 while (fgets(line, sizeof(line), fd) != NULL) {
615 if ((cp = strchr(line, '\n')) != NULL)
617 lreply(530, "%s", line);
630 while (fgets(line, sizeof(line), fd) != NULL) {
631 if ((cp = strchr(line, '\n')) != NULL)
633 lreply(220, "%s", line);
683 char *cp, *mp, *line;
719 while ((line = fgetln(fp, &len)) != NULL) {
723 if (line[0] == '#')
725 if (line[len - 1] == '\n') {
726 line[len - 1] = '\0';
731 memcpy(mp, line, len);
733 line = mp;
735 cp = strtok(line, " \t");
748 * Preparse the line so we can use its info
1113 * of the matching line in "residue" if not NULL.
1121 char *line, *mp, *p;
1126 while (!found && (line = fgetln(fd, &len)) != NULL) {
1128 if (line[0] == '#')
1130 if (line[len - 1] == '\n') {
1131 line[len - 1] = '\0';
1136 memcpy(mp, line, len);
1138 line = mp;
1141 p = strtok(line, " \t");
1177 * Save the rest of line to "residue" if matched
1555 * b) extract the directory pathname from the line,
1645 char *cp, line[LINE_MAX];
1647 while (fgets(line, sizeof(line), fd) != NULL) {
1648 if ((cp = strchr(line, '\n')) != NULL)
1650 lreply(230, "%s", line);
1719 char line[BUFSIZ];
1725 (void) snprintf(line, sizeof(line), cmd, name);
1726 name = line;
1727 fin = ftpd_popen(line, "r"), closefunc = ftpd_pclose;
2392 char line[LINE_MAX];
2396 (void)snprintf(line, sizeof(line), _PATH_LS " -lgA %s", filename);
2397 fin = ftpd_popen(line, "r");