Strdup: Difference between revisions
Jump to navigation
Jump to search
m (repetative -> repetitive) |
Thunder4ik (talk | contribs) m (clean up, added stub, deadend tags) |
||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Dead end|date=January 2024}} | |||
{{DISPLAYTITLE:strdup}} | |||
== char *'''strdup'''(const char *s1) == | |||
strdup is a standard C/C++ function and is useful for '''dup'''licating '''str'''ings to store them off to pointers. Remember to delete the duplicated string once you're done with it. | |||
[[Category:Helpers]] | [[Category:Helpers]] | ||
[[Category:Functions]] | |||
{{stub}} | |||
Latest revision as of 09:16, 21 January 2024
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.