Strdup: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
mNo edit summary  | 
				Thunder4ik (talk | contribs)  m (clean up, added stub, deadend tags)  | 
				||
| Line 1: | Line 1: | ||
{{Dead end|date=January 2024}}  | |||
{{DISPLAYTITLE:strdup}}  | {{DISPLAYTITLE:strdup}}  | ||
== char *'''strdup'''(const char *s1) ==  | == 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.  | 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]]  | [[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.