Back to index

tetex-bin  3.0
Functions
xstrdup.c File Reference
#include "xalloc.h"
#include <string.h>

Go to the source code of this file.

Functions

char * xstrdup (const char *string)

Function Documentation

char* xstrdup ( const char *  string)

Definition at line 30 of file xstrdup.c.

{
  return strcpy (xmalloc (strlen (string) + 1), string);
}

Here is the call graph for this function: