Searched refs:tmpl (Results 1 - 2 of 2) sorted by relevance

/haiku/src/tests/kits/net/service/
H A DFileTest.cpp52 char tmpl[] = "/tmp/filestoptestXXXXXX"; local
53 int fd = mkstemp(tmpl);
57 BFile file(tmpl, O_WRONLY | O_CREAT);
66 url.SetPath(tmpl);
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dtempname.c135 int __path_search(char *tmpl, size_t tmpl_len, const char *dir,
137 int __gen_tempname(char *tmpl, int kind);
155 __path_search (char *tmpl, size_t tmpl_len, const char *dir, const char *pfx, argument
207 sprintf (tmpl, "%.*s/%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx);
230 __gen_tempname (char *tmpl, int kind) argument
253 len = strlen (tmpl);
254 if (len < 6 || strcmp (&tmpl[len - 6], "XXXXXX"))
261 XXXXXX = &tmpl[len - 6];
300 fd = open(tmpl, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
304 fd = mkdir(tmpl, S_IRUS
[all...]

Completed in 89 milliseconds