VarArgs(): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
m (redirect)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''VarArgs''' (Client) or '''UTIL_VarArgs''' (Server) use [[Q_snprintf]] to format a string to a static 2 kb buffer.  It returns a pointer to the buffer. If the function is called twice, the first string will be overwritten.  Use [[CloneString]] to copy the string to a new one. Don't forget to delete your cloned strings though.
#redirect [[UTIL_VarArgs]]
 
[[Category:Helpers]]
[[Category:Helpers]]
[[Category:Functions]]

Latest revision as of 05:23, 12 April 2011

Redirect to: