]>
git.ipfire.org Git - thirdparty/gcc.git/blob - libiberty/xstrdup.c
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. */
14 ret
= xmalloc (strlen (s
) + 1);