From 3a2e5b7ce08a3c3ff4a562ef308b344483d3ac3e Mon Sep 17 00:00:00 2001 From: apio Date: Thu, 2 Mar 2023 13:40:42 +0100 Subject: [PATCH] luna: Adjust cstyle_format's description --- libluna/include/luna/Format.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libluna/include/luna/Format.h b/libluna/include/luna/Format.h index dcb39f66..19c4dfa0 100644 --- a/libluna/include/luna/Format.h +++ b/libluna/include/luna/Format.h @@ -5,7 +5,8 @@ typedef Result (*callback_t)(char, void*); -// Used to format anything that can fail (writing to C FILEs, etc...) +// Format output according to a format string and a list of variadic arguments. callback is called with arg for every +// character in the resulting string. Result cstyle_format(const char* format, callback_t callback, void* arg, va_list ap); // Convenience function which outputs into a fixed-size buffer (not unlike vsnprintf)