#include "config.h"

#include <string.h>

/*
 * Duplicate a string.
 */
char *xstrdup(const char *s)
{
    return strcpy(xmalloc(strlen(s) + 1), s);
}


syntax highlighted by Code2HTML, v. 0.9.1