Home
last modified time | relevance | path

Searched refs:tmpdir (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/bionic/
Dtmpfile.cpp88 const char* tmpdir = getenv("TMPDIR"); in __get_TMPDIR() local
89 return (tmpdir == nullptr) ? "/data/local/tmp" : tmpdir; in __get_TMPDIR()
93 const char* tmpdir = __get_TMPDIR(); in tmpfile() local
94 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() local
107 if (tmpdir != nullptr) dir = tmpdir; in tempnam()