From 8a14873ea334ffe2a3c0040117a2c86ef80577c1 Mon Sep 17 00:00:00 2001
From: jimb <jimb@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon, 13 Mar 2006 19:15:28 +0000
Subject: [PATCH] 2006-03-11  Jim Blandy  <jimb@red-bean.com>

	* functions.texi: Regenerate.




git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112021 138bc75d-0d04-0410-961f-82ee72b054a4
---
 libiberty/ChangeLog      |  4 ++++
 libiberty/functions.texi | 22 +++++++++++++++++++++-
 2 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index acdfad0657f5..3dd84105f1ee 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2006-03-11  Jim Blandy  <jimb@red-bean.com>
+
+	* functions.texi: Regenerate.
+
 2006-02-21  Ben Elliston  <bje@au.ibm.com>
 
 	* pexecute.c (pwait): Syntax fix for previous change.
diff --git a/libiberty/functions.texi b/libiberty/functions.texi
index 8b4a50ef45e1..a09e2075fe1f 100644
--- a/libiberty/functions.texi
+++ b/libiberty/functions.texi
@@ -214,6 +214,26 @@ symbolic name or message.
 
 @end deftypefn
 
+@c argv.c:293
+@deftypefn Extension void expandargv (int *@var{argcp}, char ***@var{argvp})
+
+The @var{argcp} and @code{argvp} arguments are pointers to the usual
+@code{argc} and @code{argv} arguments to @code{main}.  This function
+looks for arguments that begin with the character @samp{@@}.  Any such
+arguments are interpreted as ``response files''.  The contents of the
+response file are interpreted as additional command line options.  In
+particular, the file is separated into whitespace-separated strings;
+each such string is taken as a command-line option.  The new options
+are inserted in place of the option naming the response file, and
+@code{*argcp} and @code{*argvp} will be updated.  If the value of
+@code{*argvp} is modified by this function, then the new value has
+been dynamically allocated and can be deallocated by the caller with
+@code{freeargv}.  However, most callers will simply call
+@code{expandargv} near the beginning of @code{main} and allow the
+operating system to free the memory when the program exits.
+
+@end deftypefn
+
 @c fdmatch.c:23
 @deftypefn Extension int fdmatch (int @var{fd1}, int @var{fd2})
 
@@ -1194,7 +1214,7 @@ translation is found, returns 0.
 
 @end deftypefn
 
-@c strverscmp.c:24
+@c strverscmp.c:25
 @deftypefun int strverscmp (const char *@var{s1}, const char *@var{s2})
 The @code{strverscmp} function compares the string @var{s1} against
 @var{s2}, considering them as holding indices/version numbers.  Return
-- 
GitLab