4 void __io_putchar (
char );
6 void _SMALL_PRINTF_puts(
const char *ptr,
int len, FILE *fp)
8 if ( fp && ( fp->_file == -1 )
9 && (fp->_flags & (__SWR | __SSTR) ) )
22 __io_putchar ( *ptr++ );
27 int puts(
const char *str)
29 #if 1 //VC090825: cleaner and faster version
31 while ( str && (*str) )
33 __io_putchar ( *(str++) );
36 #else //VC090825: cleaner, lighter and faster version
37 int len = strlen ( str );
38 _SMALL_PRINTF_puts(str, len, 0) ;
39 #endif //VC090825: cleaner, lighter and faster version
40 __io_putchar (
'\n' );