diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-09-04 20:41:25 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-09-04 20:41:25 -0400 |
commit | 05c2aeaf33ad1ff3447d57a361abdb238b8f822b (patch) | |
tree | 8b8f1ca4a035c3052d77673e25d9b076e6715935 | |
parent | 2ae69f5124022d93dfc0e39964bbf68eb1f61245 (diff) |
Add a Since: tag
-rw-r--r-- | glib/gfileutils.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/glib/gfileutils.c b/glib/gfileutils.c index fbd124d13..98c0fbbda 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. |