Strdup

From Valve Developer Community
Revision as of 16:46, 11 October 2006 by Ts2do (talk | contribs)
Jump to navigation Jump to search

Template:Wrongtitle

char *strdup(const char *s1)

strdup is a standard C/C++ function and is useful for duplicating strings to store them off to pointers. Remember to delete the duplicated string once you're done with it.