11///////////////////////////////////////////////////////////////////////////////
22// \author (c) Marco Paland (info@paland.com)
3- // 2014-2018 , PALANDesign Hannover, Germany
3+ // 2014-2019 , PALANDesign Hannover, Germany
44//
55// \license The MIT License (MIT)
66//
@@ -77,6 +77,7 @@ int sprintf_(char* buffer, const char* format, ...);
7777 * \param buffer A pointer to the buffer where to store the formatted string
7878 * \param count The maximum number of characters to store in the buffer, including a terminating null character
7979 * \param format A string that specifies the format of the output
80+ * \param va A value identifying a variable arguments list
8081 * \return The number of characters that are WRITTEN into the buffer, not counting the terminating null character
8182 * If the formatted string is truncated the buffer size (count) is returned
8283 */
@@ -86,6 +87,16 @@ int snprintf_(char* buffer, size_t count, const char* format, ...);
8687int vsnprintf_ (char * buffer , size_t count , const char * format , va_list va );
8788
8889
90+ /**
91+ * Tiny vprintf implementation
92+ * \param format A string that specifies the format of the output
93+ * \param va A value identifying a variable arguments list
94+ * \return The number of characters that are WRITTEN into the buffer, not counting the terminating null character
95+ */
96+ #define vprintf vprintf_
97+ int vprintf_ (const char * format , va_list va );
98+
99+
89100/**
90101 * printf with output function
91102 * You may use this as dynamic alternative to printf() with its fixed _putchar() output
0 commit comments