Sync with gcc/libiberty.

This commit is contained in:
Richard Earnshaw
2015-01-07 17:32:24 +00:00
parent d7b24d2941
commit 7c89917ffa
12 changed files with 409 additions and 87 deletions

View File

@@ -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