D | tempname.c | 112 __path_search (char *tmpl, size_t tmpl_len, const char *dir, const char *pfx, in __path_search() argument 164 sprintf (tmpl, "%.*s/%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx); in __path_search() 175 try_file (char *tmpl, void *flags) in try_file() argument 178 return __open (tmpl, in try_file() 184 try_dir (char *tmpl, void *flags _GL_UNUSED) in try_dir() argument 186 return __mkdir (tmpl, S_IRUSR | S_IWUSR | S_IXUSR); in try_dir() 190 try_nocreate (char *tmpl, void *flags _GL_UNUSED) in try_nocreate() argument 194 if (__lstat64_time64 (tmpl, &st) == 0 || errno == EOVERFLOW) in try_nocreate() 221 gen_tempname_len (char *tmpl, int suffixlen, int flags, int kind, in gen_tempname_len() argument 230 return try_tempname_len (tmpl, suffixlen, &flags, tryfunc[kind], in gen_tempname_len() [all …]
|