VarArgs(): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Skipped redirect)
m (redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
'''VarArgs''' on the client, or '''UTIL_VarArgs''' on the server, uses [[Q_vsnprintf]] to format a string to a static 1 kb buffer.  It returns a pointer to the buffer. If the function is called twice, the first string will be overwritten.  Use [[strdup]] 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: