diff options
author | Havoc Pennington <hp@pobox.com> | 2000-11-05 16:38:16 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2000-11-05 16:38:16 +0000 |
commit | 110c6cbac8d9cbddc27dcdf3f6c22889262fcc54 (patch) | |
tree | 4cf44e4c872b420e83ad8a6596818f720df0619c /gfileutils.c | |
parent | 56f81205cff9047545d5896418718d959c50eb4d (diff) | |
download | glib-110c6cbac8d9cbddc27dcdf3f6c22889262fcc54.tar.gz |
Added
2000-11-05 Havoc Pennington <hp@pobox.com>
* glib/tmpl/spawn.sgml, glib/tmpl/markup.sgml,
glib/tmpl/fileutils.sgml: Added
* glib/Makefile.am: Add new files
* glib/glib-sections.txt: Add stuff from -unused
2000-11-05 Havoc Pennington <hp@pobox.com>
* gutils.c (g_find_program_in_path): cleanup docs, sync param
names to those in the header
* gfileutils.c (g_mkstemp): clean up docs
* gshell.h: sync param names with param names in .c file
* gfileutils.h (enum GFileTest): remove trailing comma from last
member, confuses gtk-doc
* gmarkup.h: s/GMarkupErrorType/GMarkupError/g; to follow
convention
Diffstat (limited to 'gfileutils.c')
-rw-r--r-- | gfileutils.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gfileutils.c b/gfileutils.c index 857e069ac..c9c0d9e19 100644 --- a/gfileutils.c +++ b/gfileutils.c @@ -502,10 +502,17 @@ g_file_get_contents (const gchar *filename, #endif } +/* + * mkstemp() implementation is from the GNU C library. + * Copyright (C) 1991,92,93,94,95,96,97,98,99 Free Software Foundation, Inc. + */ /** * g_mkstemp: + * @tmpl: template filename * - * Open a temporary file + * Open a temporary file. See "man mkstemp" on most UNIX-like systems. + * This is a portability wrapper, which simply calls mkstemp() on systems + * that have it, and implements it in GLib otherwise. * * The parameter is a string that should match the rules for mktemp, i.e. * end in "XXXXXX". The X string will be modified to form the name @@ -516,8 +523,6 @@ g_file_get_contents (const gchar *filename, * on platforms where there is a difference. The file handle should be * closed with close(). In case of errors, -1 is returned. * - * From the GNU C library. - * Copyright (C) 1991,92,93,94,95,96,97,98,99 Free Software Foundation, Inc. */ int g_mkstemp (char *tmpl) |