Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
they are replaced with a string that makes the filename unique.
Then open the file and return a fd. */
int
-mkostemp (template, flags)
- char *template;
- int flags;
+mkostemp (char *template, int flags)
{
return __gen_tempname (template, __GT_FILE, flags);
}
they are replaced with a string that makes the filename unique.
Then open the file and return a fd. */
int
-mkostemp64 (template, flags)
- char *template;
- int flags;
+mkostemp64 (char *template, int flags)
{
return __gen_tempname (template, __GT_BIGFILE, flags | O_LARGEFILE);
}