strdup

From Valve Developer Community
Jump to: navigation, search
Dead End - Icon.png
This article has no links to other VDC articles. Please help improve this article by adding links that are relevant to the context within the existing text.
January 2024

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.


Stub

This article or section is a stub. You can help by adding to it.