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/choose-temp.c | |
parent | 2d4368e6cd739fadc7e3cc1111f30f2941e8a8a3 (diff) | |
download | gcc-aac04c15d761628889f138b16219bce27f25bbb2.zip gcc-aac04c15d761628889f138b16219bce27f25bbb2.tar.gz gcc-aac04c15d761628889f138b16219bce27f25bbb2.tar.bz2 |
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/choose-temp.c')
-rw-r--r-- | libiberty/choose-temp.c | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/libiberty/choose-temp.c b/libiberty/choose-temp.c index c6df304..de6fbed 100644 --- a/libiberty/choose-temp.c +++ b/libiberty/choose-temp.c @@ -37,13 +37,21 @@ extern char *choose_tmpdir PARAMS ((void)); #define TEMP_FILE "ccXXXXXX" #define TEMP_FILE_LEN (sizeof(TEMP_FILE) - 1) -/* Return a prefix for temporary file names or NULL if unable to find one. - The current directory is chosen if all else fails so the program is - exited if a temporary directory can't be found (mktemp fails). - The buffer for the result is obtained with xmalloc. +/* - This function is provided for backwards compatability only. It use - is not recommended. */ +@deftypefn Extension char* choose_temp_base () + +Return a prefix for temporary file names or @code{NULL} if unable to +find one. The current directory is chosen if all else fails so the +program is exited if a temporary directory can't be found (@code{mktemp} +fails). The buffer for the result is obtained with @code{xmalloc}. + +This function is provided for backwards compatability only. Its use is +not recommended. + +@end deftypefn + +*/ char * choose_temp_base () |