Lines Matching refs:tmp
44 char *tmp;
47 tmp = NULL;
55 tmp = calloc(n+strlen(defmesg)+1, sizeof (char));
56 (void) strcpy(tmp, defmesg);
57 (void) strcat(tmp, "\n");
59 (void) strcat(tmp, help);
60 help = tmp;
63 tmp = calloc(n+strlen(defmesg)+2, sizeof (char));
64 (void) strcpy(tmp, help);
65 tmp[n-1] = '\0';
66 (void) strcat(tmp, "\n");
67 (void) strcat(tmp, defmesg);
68 help = tmp;
73 if (tmp)
74 free(tmp);