extern char * _PDCLIB_eol;
-int puts( const char * s )
+int puts_unlocked( const char * s )
{
if ( _PDCLIB_prepwrite( stdout ) == EOF )
{
}
}
+int puts( const char * s )
+{
+ flockfile( stdout );
+ int r = puts_unlocked( s );
+ funlockfile( stdout );
+ return r;
+}
+
#endif
#ifdef TEST