42static int G__mkstemp(
char *
template,
int flags,
int mode)
50 char *p =
strchr(ptr,
'X');
72 fd =
open(
template, flags, mode);
107 return G__mkstemp(
template, 0, 0) < 0 ?
NULL :
template;
164 ? ((flags &
O_APPEND) ?
"a+" :
"w+")
166 int fd =
G_mkstemp(
template, flags, mode);
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
Header file for msvc/fcntl.c.
FILE * G_mkstemp_fp(char *template, int flags, int mode)
Returns a file descriptor.
char * G_mktemp(char *template)
Opens a temporary file.
int G_mkstemp(char *template, int flags, int mode)
Returns a file descriptor.