summaryrefslogtreecommitdiff
path: root/libiberty/mkstemps.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-10-17 17:15:41 -0400
committerDJ Delorie <dj@gcc.gnu.org>2001-10-17 17:15:41 -0400
commit5bed56d982200550d5e8c45b217b071bfae9be14 (patch)
treee2ffc65e72b8e65621fcec4349bc96ac9591f224 /libiberty/mkstemps.c
parent51fabca55a83f4e2efad3cdccd6d312b06540c76 (diff)
downloadgcc-5bed56d982200550d5e8c45b217b071bfae9be14.tar.gz
argv.c, [...]: Improve manual formatting.
* argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c, ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c, mkstemps.c, pexecute.c, random.c, strsitnal.c, vasprintf.c: Improve manual formatting. * functions.texi: Regenerate. From-SVN: r46323
Diffstat (limited to 'libiberty/mkstemps.c')
-rw-r--r--libiberty/mkstemps.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libiberty/mkstemps.c b/libiberty/mkstemps.c
index 56b0baea77e..8fe5784f189 100644
--- a/libiberty/mkstemps.c
+++ b/libiberty/mkstemps.c
@@ -57,12 +57,12 @@ Generate a unique temporary file name from @var{template}.
@var{template} has the form:
@example
- <path>/ccXXXXXX<suffix>
+ @var{path}/ccXXXXXX@var{suffix}
@end example
-@var{suffix_len} tells us how long <suffix> is (it can be zero
-length). The last six characters of @var{template} before <suffix>
-must be @code{XXXXXX}; they are replaced with a string that makes the
+@var{suffix_len} tells us how long @var{suffix} is (it can be zero
+length). The last six characters of @var{template} before @var{suffix}
+must be @samp{XXXXXX}; they are replaced with a string that makes the
filename unique. Returns a file descriptor open on the file for
reading and writing.