Lines Matching refs:f
48 char *f, *name; in tempnam() local
56 if (issetugid() == 0 && (f = getenv("TMPDIR"))) { in tempnam()
57 (void)snprintf(name, MAXPATHLEN, "%s%s%sXXXXXXXXXX", f, in tempnam()
58 *(f + strlen(f) - 1) == '/'? "": "/", pfx); in tempnam()
59 if ((f = _mktemp(name))) in tempnam()
60 return(f); in tempnam()
63 if ((f = (char *)dir)) { in tempnam()
64 (void)snprintf(name, MAXPATHLEN, "%s%s%sXXXXXXXXXX", f, in tempnam()
65 *(f + strlen(f) - 1) == '/'? "": "/", pfx); in tempnam()
66 if ((f = _mktemp(name))) in tempnam()
67 return(f); in tempnam()
70 f = P_tmpdir; in tempnam()
71 (void)snprintf(name, MAXPATHLEN, "%s%sXXXXXXXXX", f, pfx); in tempnam()
72 if ((f = _mktemp(name))) in tempnam()
73 return(f); in tempnam()
75 f = _PATH_TMP; in tempnam()
76 (void)snprintf(name, MAXPATHLEN, "%s%sXXXXXXXXX", f, pfx); in tempnam()
77 if ((f = _mktemp(name))) in tempnam()
78 return(f); in tempnam()