summaryrefslogtreecommitdiff
path: root/libiberty/mkstemps.c
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-17 21:15:41 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-17 21:15:41 +0000
commitf0ed5ac15bb6e0b508e2d1375bfdc931dc814ad1 (patch)
treee2ffc65e72b8e65621fcec4349bc96ac9591f224 /libiberty/mkstemps.c
parent10cac3d7e9a49b61070d5928fafc684ba8bb8b09 (diff)
downloadgcc-f0ed5ac15bb6e0b508e2d1375bfdc931dc814ad1.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46323 138bc75d-0d04-0410-961f-82ee72b054a4
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.