Lines Matching defs:tmpdir
65 char *tmpdir;
531 tmpdir = getenv("TMPDIR");
532 if ((tmpdir == (char *)NULL) || (*tmpdir == '\0'))
533 tmpdir = "/tmp";
535 if (*tmpdir != '/') {
538 tmpdir);
543 * The actual use of tmpdir is in dirs.c, and is of the form
544 * tmpdir + "/rst" + type (three characters) + "%ld.XXXXXX" +
557 if (strlen(tmpdir) > (MAXPATHLEN - 31)) {
563 (void) snprintf(name, sizeof (name), "%s/rstdir.%ld", tmpdir, getpid());