char * xstrdup (const char *string)
{
return strcpy (xmalloc (strlen (string) + 1), string);
}
函數功能 copy a string with out of memory checking
懂了吧 ?
goodluck