Lines Matching defs:line
1624 char line[LMS_MAX_LINE_LEN + 1];
1687 // Go over each line and copy it to the tmp file.
1688 while (fgets(line, sizeof(line), ifp)) {
1689 // don't copy the line if it was generated by the LMS
1693 (3 == sscanf(line, LMS_LINE_SCAN_FORMAT, oldFqdn, host, tmpsige))
1698 // copy the old LMS line too, since it's up to date
1699 fprintf(ofp, "%s", line);
1705 fprintf(ofp, "%s", line);
1707 while ((LMS_MAX_LINE_LEN == strnlen(line, LMS_MAX_LINE_LEN))
1708 && ('\n' != line[LMS_MAX_LINE_LEN - 1])
1709 && (fgets(line, sizeof(line), ifp))) {
1710 fprintf(ofp, "%s", line);
1721 // If the original hosts file does not end with a new line character,
1722 // add a new line at the end of the new file before adding our line.