From 05c2aeaf33ad1ff3447d57a361abdb238b8f822b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 4 Sep 2009 20:41:25 -0400 Subject: [PATCH] Add a Since: tag --- glib/gfileutils.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/glib/gfileutils.c b/glib/gfileutils.c index fbd124d..98c0fbb 100644 --- a/glib/gfileutils.c +++ b/glib/gfileutils.c @@ -1144,26 +1144,28 @@ g_file_set_contents (const gchar *filename, /** * g_mkstemp_full: * @tmpl: template filename - * @flags: flags to pass to an open() call in addition to O_EXCL and + * @flags: flags to pass to an open() call in addition to O_EXCL and * O_CREAT, which are passed automatically * @mode: permissios to create the temporary file with * * Opens a temporary file. See the mkstemp() documentation - * on most UNIX-like systems. + * on most UNIX-like systems. * * The parameter is a string that should follow the rules for - * mkstemp() templates, i.e. contain the string "XXXXXX". + * mkstemp() templates, i.e. contain the string "XXXXXX". * g_mkstemp_full() is slightly more flexible than mkstemp() - * in that the sequence does not have to occur at the very end of the - * template and you can pass a @mode and additional @flags. The X + * in that the sequence does not have to occur at the very end of the + * template and you can pass a @mode and additional @flags. The X * string will be modified to form the name of a file that didn't exist. - * The string should be in the GLib file name encoding. Most importantly, + * The string should be in the GLib file name encoding. Most importantly, * on Windows it should be in UTF-8. * * Return value: A file handle (as from open()) to the file - * opened for reading and writing. The file handle should be - * closed with close(). In case of errors, -1 is returned. - */ + * opened for reading and writing. The file handle should be + * closed with close(). In case of errors, -1 is returned. + * + * Since: 2.22 + */ /* * g_mkstemp_full based on the mkstemp implementation from the GNU C library. * Copyright (C) 1991,92,93,94,95,96,97,98,99 Free Software Foundation, Inc. -- 2.7.4