strdup
Jump to navigation
Jump to search

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


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.