Lines Matching refs:tptr
113 char *tptr;
134 if ((tptr = strrchr(*argv, '/')) != NULL)
135 prog_name = ++tptr;
351 tptr = calloc((unsigned)cntr, sizeof (char));
352 if (tptr == NULL) {
355 (void) strcat(tptr, dmap.dmap_devname);
356 (void) strcat(tptr, ":\\\n\t");
357 (void) strcat(tptr, dmap.dmap_devtype);
358 (void) strcat(tptr, ":\\\n\t");
359 (void) strcat(tptr, dmap.dmap_devlist);
360 (void) strcat(tptr, ":\\\n\t");
361 (void) strcat(tptr, "\n");
362 cntr = strlen(tptr);
372 if (write(des, tptr, cntr) == -1) {