X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=libiberty%2Fxstrdup.c;h=5aa084a768791c413d9405da227fa6f317ec6524;hb=30d304de8b0593a62f7aab770f421f91fbea392a;hp=e16aba08554b02af84c04f61a464a7f024185bf3;hpb=30727aa6d12fb866494020c0b62ab265a2bdcdfe;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/xstrdup.c b/libiberty/xstrdup.c index e16aba0855..5aa084a768 100644 --- a/libiberty/xstrdup.c +++ b/libiberty/xstrdup.c @@ -2,6 +2,18 @@ This trivial function is in the public domain. Ian Lance Taylor, Cygnus Support, December 1995. */ +/* + +@deftypefn Replacement char* xstrdup (const char *@var{s}) + +Duplicates a character string without fail, using @code{xmalloc} to +obtain memory. + +@end deftypefn + +*/ + +#include #ifdef HAVE_CONFIG_H #include "config.h" #endif