Lines Matching defs:nptr
92 scan_arg(char *str, int *intp, char *nptr)
97 *nptr = '\0';
110 *(nptr++) = ch;
112 *nptr = '\0';
276 char *nptr, *tmp;
294 if ((nptr = next_field(str)) == NULL)
314 str = nptr;
316 nptr = tempbuf;
319 if (scan_arg(str, &procnum, nptr) == -1) {
320 ERROR(nptr, 0);
325 ERROR(nptr, ESRCH);
327 ERROR(nptr, EACCES);
329 ERROR(nptr, errno);
349 char *nptr;
364 nptr = tempbuf;
366 procnum = scan_arg(str, &prio, nptr);
384 if (scan_arg(str, &procnum, nptr) == -1) {
385 ERROR(nptr, 0);
389 ERROR(nptr, EACCES);
391 ERROR(nptr, errno);