Searched refs:tmpdir (Results 1 – 1 of 1) sorted by relevance
88 const char* tmpdir = getenv("TMPDIR"); in __get_TMPDIR() local89 return (tmpdir == nullptr) ? "/data/local/tmp" : tmpdir; in __get_TMPDIR()93 const char* tmpdir = __get_TMPDIR(); in tmpfile() local94 int fd = open(tmpdir, O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR); in tmpfile()95 if (fd == -1) return __tmpfile_dir_legacy(tmpdir); in tmpfile()106 const char* tmpdir = getenv("TMPDIR"); in tempnam() local107 if (tmpdir != nullptr) dir = tmpdir; in tempnam()