Lines Matching refs:lp
362 char *lp; /* pointer to the current line */
387 lp = buf;
388 while (fgets(lp, sizeof (buf) - (lp - buf), namefp) != NULL) {
393 if (*lp == '\n' || !isspace((unsigned char)*lp)) {
394 *lp = '\0';
400 tstart = lp;
407 (void) memmove(lp, tstart, len + 1);
408 lp += len;
411 if (lp == &buf[sizeof (buf) - 1])
414 if (lp != buf) {
415 *lp = '\0';