OSDN Git Service

Extend __gen_tempname with mode argument
authorMikhail Gusarov <dottedmag@dottedmag.net>
Sat, 7 Nov 2009 20:33:15 +0000 (02:33 +0600)
committerAustin Foxley <austinf@cetoncorp.com>
Mon, 9 Nov 2009 23:24:19 +0000 (15:24 -0800)
commit8d74517c1619e3f688ad543717cee25d0b166a6e
treead2a9a1a66b1a8ef63463d94ffe038a6aeee6dee
parent45bc2bc53ddb15fb8df194240d232e09b6872b39
Extend __gen_tempname with mode argument

sem_open(3) needs to create a temporary file in a way which can't
be efficiently implemented in terms of POSIX API. Extend
__gen_tempname with mode_t mode argument in order to ease
sem_open implementation.

Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
libc/inet/getaddrinfo.c
libc/misc/internals/tempname.c
libc/misc/internals/tempname.h
libc/stdio/tempnam.c
libc/stdio/tmpfile.c
libc/stdio/tmpnam.c
libc/stdio/tmpnam_r.c
libc/stdlib/mkdtemp.c
libc/stdlib/mkstemp.c
libc/stdlib/mkstemp64.c
libc/stdlib/mktemp.c