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
);
This page took 0.031819 seconds and 4 git commands to generate.