183 * @return (@c int) the total number of bytes written or an error code from stdlib printf implementation |
183 * @return (@c int) the total number of bytes written or an error code from stdlib printf implementation |
184 * @see cx_fprintf() |
184 * @see cx_fprintf() |
185 * @see cxBufferWrite() |
185 * @see cxBufferWrite() |
186 */ |
186 */ |
187 #define cx_bprintf(buffer, fmt, ...) cx_fprintf((void*)buffer, \ |
187 #define cx_bprintf(buffer, fmt, ...) cx_fprintf((void*)buffer, \ |
188 (cx_write_func) cxBufferWrite, fmt, __VA_ARGS__) |
188 cxBufferWriteFunc, fmt, __VA_ARGS__) |
189 |
189 |
190 |
190 |
191 /** |
191 /** |
192 * An @c sprintf like function which reallocates the string when the buffer is not large enough. |
192 * An @c sprintf like function which reallocates the string when the buffer is not large enough. |
193 * |
193 * |