Lines Matching defs:tname
58 char **tname, /* returned temp file name */
82 assert(tname != NULL);
85 *tname = NULL;
86 *tname = Malloc(strlen(vname) + strlen(".tmp") + 1);
87 (void) strcpy(*tname, vname);
88 (void) strcat(*tname, ".tmp");
107 if ((tfp = fopen(*tname, "w")) == NULL) {
108 (void) mdsyserror(ep, errno, *tname);
112 (void) mdsyserror(ep, errno, *tname);
116 (void) mdsyserror(ep, errno, *tname);
137 (void) mdsyserror(ep, errno, *tname);
161 (void) mdsyserror(ep, errno, *tname);
186 (void) mdsyserror(ep, errno, *tname);
201 if (*tname != NULL) {
202 (void) unlink(*tname);
203 Free(*tname);