Lines Matching defs:tmpdir
100 char *tmpdir; /* where above is mounted, NULL if none */
789 if (tmpdir) {
800 if (nfsdir[0] && umount_nfs(nfsdir, tmpdir))
803 tmpdir);
804 if (rmdir(tmpdir) < 0)
807 tmpdir = NULL;
915 tmpdir = mktemp(TempName);
923 if (mkdir(tmpdir, 0777)) {
934 tmpdir, errno);
938 if (mount_nfs(wanted, tmpdir, error)) {
950 strcpy(dirbuf, tmpdir);
961 * so that it gets unmounted later, and tmpdir so that
964 tmpdir = mktemp(TempName);
972 if (mkdir(tmpdir, 0777)) {
982 printf("created %s (%d)\n", tmpdir, errno);
986 if (mount_nfs(wanted, tmpdir, error)) {
997 strcpy(dirbuf, tmpdir);