From 5a620d1c6592057b500f0889eef8949dc1e95e4b Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 1 May 2011 19:51:52 +0000 Subject: (svn r22406) -Document: some more "random-ish" tidbits --- src/string.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/string.cpp') diff --git a/src/string.cpp b/src/string.cpp index 1ba6f15fb..7aa081c45 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -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]; -- cgit v1.2.3-54-g00ecf