Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-10 | mkostemp: fix implementation | Anthony G. Basile | |
mkostemp(char *template, int flags) generates a unique temporary filename from a template. The flags parameter accepts three of the same flags as open(2): O_APPEND, O_CLOEXEC, and O_SYNC. The current implementation of mkostemp(3) does not respect the flags and in fact confuses the flags with the file mode which should always be S_IRUSR | S_IWUSR. This patch corrects this issue. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> | |||
2013-02-11 | stdlib: Fix fndecl of mkostemp, mkostemp64 | Bernhard Reutner-Fischer | |
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | |||
2012-11-14 | libc/stdlib: add mkostemp helpers | Mike Frysinger | |
Some projects (like udev) are starting to use this. Imported from glibc. Signed-off-by: Mike Frysinger <vapier@gentoo.org> |