X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fformatwr.h;h=4e6a5b41abdd1a29ac90bca2fb57fc6e0df1f19f;hb=f78e7b82ce293dabb9695e3656c244b955fbb9d2;hp=17cddac4660dadf1c91c61f334ca7d69c61c0902;hpb=c273ae81bac91c7eaaecb71482992803539dd0eb;p=bertos.git diff --git a/mware/formatwr.h b/mware/formatwr.h index 17cddac4..4e6a5b41 100755 --- a/mware/formatwr.h +++ b/mware/formatwr.h @@ -12,6 +12,9 @@ /* * $Log$ + * Revision 1.4 2004/08/04 15:53:47 rasky + * Nuove opzioni di configurazione per formatted_write e ridotto maggiormente l'utilizzo dellos tack + * * Revision 1.3 2004/07/29 22:57:09 bernie * Add values for new-style CONFIG_PRINTF option. * @@ -26,6 +29,7 @@ #define MWARE_FORMATWR_H #include +#include /*! * \name _formatted_write() configuration @@ -38,8 +42,13 @@ #define PRINTF_FULL 4 /* \} */ +#ifndef CONFIG_PRINTF_RETURN_COUNT + /*! Enable/disable _formatted_write return value */ + #define CONFIG_PRINTF_RETURN_COUNT 1 +#endif -int _formatted_write( +int +_formatted_write( const char *format, void put_char_func(char c, void *user_data), void *user_data,