summaryrefslogtreecommitdiff
path: root/gutils.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2000-10-30 21:55:21 +0000
committerTor Lillqvist <tml@src.gnome.org>2000-10-30 21:55:21 +0000
commit6acee58bdfc7e90ff8be4130b3eb3aaa319cfd3b (patch)
tree912feaf2b3e8a1fb61c52561f5f938f480610f0d /gutils.h
parent3de6638d23b43da5a8d3ee50993c95b0a8e94fa9 (diff)
downloadglib-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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gutils.h b/gutils.h
index c4dcb1b8a..e70ec48df 100644
--- a/gutils.h
+++ b/gutils.h
@@ -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);