X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=libiberty%2Fxstrdup.c;h=5aa084a768791c413d9405da227fa6f317ec6524;hb=30d304de8b0593a62f7aab770f421f91fbea392a;hp=6f846cfea156849c0f8e3f22ccecfb67a54fa23a;hpb=d0352a18a504a4e7b761f6b3264cf11347d8d056;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/xstrdup.c b/libiberty/xstrdup.c index 6f846cfea1..5aa084a768 100644 --- a/libiberty/xstrdup.c +++ b/libiberty/xstrdup.c @@ -2,6 +2,17 @@ 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"