1
/* xstrdup.c -- Duplicate a string in memory, using xmalloc.
2
This trivial function is in the public domain.
3
Ian Lance Taylor, Cygnus Support, December 1995. */
13
#include "libiberty.h"
19
register size_t len = strlen (s) + 1;
20
register char *ret = xmalloc (len);