Home | History | Annotate | Download | only in misc

Lines Matching defs:cp

127 	char	*cp, *ret;
130 cp = file->buf + file->ptr;
131 while (*cp && *cp != '\n') {
132 cp++;
140 while (*cp && (*cp == '\n' || *cp == '\r')) {
141 cp++;
168 static char *skip_over_blank(char *cp)
170 while (*cp && isspace(*cp))
171 cp++;
172 return cp;
175 static char *skip_over_word(char *cp)
177 while (*cp && !isspace(*cp))
178 cp++;
179 return cp;
238 char *dev, *device, *mntpnt, *type, *opts, *freq, *passno, *cp;
240 if ((cp = strchr(line, '#')))
241 *cp = 0; /* Ignore everything after the comment char */
242 cp = line;
244 device = parse_word(&cp);
245 mntpnt = parse_word(&cp);
246 type = parse_word(&cp);
247 opts = parse_word(&cp);
248 freq = parse_word(&cp);
249 passno = parse_word(&cp);