diff options
author | DJ Delorie <dj@redhat.com> | 2001-10-15 22:50:13 -0400 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2001-10-15 22:50:13 -0400 |
commit | aac04c15d761628889f138b16219bce27f25bbb2 (patch) | |
tree | 58903ff3e4335306b7c9f5c24e8baf3b9a9922a8 /libiberty/make-temp-file.c | |
parent | 2d4368e6cd739fadc7e3cc1111f30f2941e8a8a3 (diff) | |
download | gcc-aac04c15d761628889f138b16219bce27f25bbb2.tar.gz |
Makefile.in (TEXIFILES): Add fnmatch.txh.
* Makefile.in (TEXIFILES): Add fnmatch.txh.
(maint-undoc): New.
maint-tool: Add "undoc" tool.
* alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
documentation.
* fnmatch.txh: New.
* functions.texi: Regenerate.
From-SVN: r46274
Diffstat (limited to 'libiberty/make-temp-file.c')
-rw-r--r-- | libiberty/make-temp-file.c | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/libiberty/make-temp-file.c b/libiberty/make-temp-file.c index f3e1d10e9a7..db4bd9e5e4a 100644 --- a/libiberty/make-temp-file.c +++ b/libiberty/make-temp-file.c @@ -83,6 +83,17 @@ static const char vartmp[] = static char *memoized_tmpdir; +/* + +@deftypefn Replacement char* choose_tmpdir () + +Returns a pointer to a directory path suitable for creating temporary +files in. + +@end deftypefn + +*/ + char * choose_tmpdir () { @@ -122,9 +133,17 @@ choose_tmpdir () return tmpdir; } -/* Return a temporary file name (as a string) or NULL if unable to create - one. SUFFIX is a suffix to append to the file name. The string is - malloced, and the temporary file has been created. */ +/* + +@deftypefn Replacement char* make_temp_file (const char *@var{suffix}) + +Return a temporary file name (as a string) or @code{NULL} if unable to +create one. @var{suffix} is a suffix to append to the file name. The +string is malloced, and the temporary file has been created. + +@end deftypefn + +*/ char * make_temp_file (suffix) |