Lines Matching defs:fptr
341 * flag is set, getfile positions the file pointer(fptr) at the end of
342 * the file name prefix on the first call(fptr=0). The file counter is
352 static char *fptr;
360 if (fptr == 0)
361 for (fptr = file; *fptr != NULL; fptr++)
363 (void) sprintf(fptr, "%.*d", fiwidth, ctr++);
366 if (strlen(fptr) > fiwidth) {
395 (void) sprintf(fptr, "%.*d", fiwidth, (ctr-2));