mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-17 19:49:10 +00:00
(svn r22406) -Document: some more "random-ish" tidbits
This commit is contained in:
@@ -160,7 +160,11 @@ char *strecpy(char *dst, const char *src, const char *last)
|
||||
return dst;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Format, "printf", into a newly allocated string.
|
||||
* @param str The formatting string.
|
||||
* @return The formatted string. You must free this!
|
||||
*/
|
||||
char *CDECL str_fmt(const char *str, ...)
|
||||
{
|
||||
char buf[4096];
|
||||
|
Reference in New Issue
Block a user