Lines Matching defs:tname
59 char **tname, /* returned temp file name */
72 assert(tname != NULL);
77 *tname = Malloc(strlen(sname) + strlen(".tmp") + 1);
78 (void) strcpy(*tname, sname);
79 (void) strcat(*tname, ".tmp");
90 if ((*tfp = fopen(*tname, "w")) == NULL) {
97 (void) mdsyserror(ep, errno, *tname);
100 Free(*tname);
101 *tname = tempnam("/var/tmp", "svm_");
102 if (*tname == NULL) {
106 if ((*tfp = fopen(*tname, "w")) == NULL) {
107 (void) mdsyserror(ep, errno, *tname);
116 (void) mdsyserror(ep, errno, *tname);
154 (void) mdsyserror(ep, errno, *tname);
180 (void) mdsyserror(ep, errno, *tname);
192 if (*tname != NULL) {
193 (void) unlink(*tname);
194 Free(*tname);
208 char *tname, /* temp file name */
220 assert(tname != NULL);
235 return (mdsyserror(ep, errno, tname));
245 return (mdsyserror(ep, errno, tname));
256 return (mdsyserror(ep, errno, tname));
264 return (mdsyserror(ep, errno, tname));
337 char *tname, /* temp file name */
361 assert(tname != NULL);
387 (void) mdsyserror(ep, errno, tname);
440 (void) mdsyserror(ep, errno, tname);
456 (void) mdsyserror(ep, errno, tname);
473 (void) mdsyserror(ep, errno, tname);