Eliminate all of the console output message

Rich Felker dalias at aerifal.cx
Tue Sep 26 18:26:17 UTC 2006


On Tue, Sep 26, 2006 at 05:40:42PM +0800, colin wrote:
> 
> Hi there,
> I am trying to eliminate all of the console output message of the embedded
> application.
> What I do is like this:
>     #define puts do { } while (0)
> 
> printf and putchar will also be replaced by this way.
> Is it safe to do this?

No, some of the applets may use these functions for the actual
required output to do their job.

Rich





More information about the uClibc mailing list