1
0
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:
rubidium
2011-05-01 19:51:52 +00:00
parent 1a515e6344
commit 5a620d1c65
33 changed files with 132 additions and 20 deletions

View File

@@ -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];