Lines Matching refs:home
1761 char *home, path[PATH_MAX], hash[41];
1765 home = getenv("HOME");
1766 if (home == NULL)
1774 snprintf(path, PATH_MAX, "%s" RDESKTOP_LICENSE_STORE "/%s.cal", home, hash);
1781 snprintf(path, PATH_MAX, "%s/.rdesktop/license.%s", home, g_hostname);
1803 char *home, path[PATH_MAX], tmppath[PATH_MAX], hash[41];
1806 home = getenv("HOME");
1807 if (home == NULL)
1810 snprintf(path, PATH_MAX, "%s" RDESKTOP_LICENSE_STORE, home);
1825 snprintf(path, PATH_MAX, "%s" RDESKTOP_LICENSE_STORE "/%s.cal", home, hash);
1868 char *home;
1871 home = getenv("HOME");
1873 if (home == NULL)
1877 snprintf(bmpcache_dir, sizeof(bmpcache_dir), "%s/%s", home, ".rdesktop");
1879 sprintf(bmpcache_dir, "%s/%s", home, ".rdesktop");
1889 snprintf(bmpcache_dir, sizeof(bmpcache_dir), "%s/%s", home, ".rdesktop/cache");
1891 sprintf(bmpcache_dir, "%s/%s", home, ".rdesktop/cache");
1907 char *home;
1911 home = getenv("HOME");
1912 if (home == NULL)
1915 snprintf(fn, sizeof(fn), "%s/.rdesktop/%s", home, filename);
1917 sprintf(fn, "%s/.rdesktop/%s", home, filename);