aboutsummaryrefslogtreecommitdiff
path: root/libiberty/mkstemps.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-10-17 22:35:28 +0000
committerDJ Delorie <dj@redhat.com>2001-10-17 22:35:28 +0000
commit5d852400e9653036531a2c2db5cce7433d936469 (patch)
treee7a2579c104d46d386dc80318c32d0c94dc46462 /libiberty/mkstemps.c
parent03dd37c302866305fa6d48988f558c4eba2bbabe (diff)
downloadfsf-binutils-gdb-5d852400e9653036531a2c2db5cce7433d936469.zip
fsf-binutils-gdb-5d852400e9653036531a2c2db5cce7433d936469.tar.gz
fsf-binutils-gdb-5d852400e9653036531a2c2db5cce7433d936469.tar.bz2
merge from gcc
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 56b0bae..8fe5784 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.