diff options
author | Tor Lillqvist <tml@iki.fi> | 2000-10-30 21:55:21 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2000-10-30 21:55:21 +0000 |
commit | 6acee58bdfc7e90ff8be4130b3eb3aaa319cfd3b (patch) | |
tree | 912feaf2b3e8a1fb61c52561f5f938f480610f0d /gutils.h | |
parent | 3de6638d23b43da5a8d3ee50993c95b0a8e94fa9 (diff) | |
download | glib-6acee58bdfc7e90ff8be4130b3eb3aaa319cfd3b.tar.gz |
Check for mkstemp.
2000-10-30 Tor Lillqvist <tml@iki.fi>
* configure.in: Check for mkstemp.
* gutils.c (g_mkstemp): New function. If HAVE_MKSTEMP, just call
it, otherwise use code lifted from glibc.
* gutils.h: Declare it.
* glib.def: Here, too.
Diffstat (limited to 'gutils.h')
-rw-r--r-- | gutils.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -161,6 +161,9 @@ gchar* g_path_get_dirname (const gchar *file_name); /* Get the codeset for the current locale */ /* gchar * g_get_codeset (void); */ +/* Wrapper / workalike for mkstemp() */ +int g_mkstemp (char *tmpl); + /* return the environment string for the variable. The returned memory * must not be freed. */ gchar* g_getenv (const gchar *variable); |