aboutsummaryrefslogtreecommitdiff
path: root/libiberty/functions.texi
diff options
context:
space:
mode:
authorRichard Earnshaw <Richard.Earnshaw@arm.com>2015-01-07 17:32:24 +0000
committerRichard Earnshaw <Richard.Earnshaw@arm.com>2015-01-07 17:34:29 +0000
commit7c89917ffa6813f40fbb9f345411d59716e90714 (patch)
tree6457a90f308cea40a799e74f72c9b3a122f0b17c /libiberty/functions.texi
parentd7b24d2941fd7c99ba5843331989e6023075f0d0 (diff)
downloadgdb-7c89917ffa6813f40fbb9f345411d59716e90714.zip
gdb-7c89917ffa6813f40fbb9f345411d59716e90714.tar.gz
gdb-7c89917ffa6813f40fbb9f345411d59716e90714.tar.bz2
Sync with gcc/libiberty.
Diffstat (limited to 'libiberty/functions.texi')
-rw-r--r--libiberty/functions.texi18
1 files changed, 18 insertions, 0 deletions
diff --git a/libiberty/functions.texi b/libiberty/functions.texi
index 9ed9ff0..b5f4e80 100644
--- a/libiberty/functions.texi
+++ b/libiberty/functions.texi
@@ -1923,6 +1923,15 @@ if an error occurred while writing to FILE.
@end deftypefn
+@c xasprintf.c:31
+@deftypefn Replacement char* xasprintf (const char *@var{format}, ...)
+
+Print to allocated string without fail. If @code{xasprintf} fails,
+this will print a message to @code{stderr} (using the name set by
+@code{xmalloc_set_program_name}, if any) and then call @code{xexit}.
+
+@end deftypefn
+
@c xatexit.c:11
@deftypefun int xatexit (void (*@var{fn}) (void))
@@ -2022,4 +2031,13 @@ always NUL terminated.
@end deftypefn
+@c xvasprintf.c:38
+@deftypefn Replacement char* xvasprintf (const char *@var{format}, va_list @var{args})
+
+Print to allocated string without fail. If @code{xvasprintf} fails,
+this will print a message to @code{stderr} (using the name set by
+@code{xmalloc_set_program_name}, if any) and then call @code{xexit}.
+
+@end deftypefn
+