Am 22.03.2018 um 08:17 schrieb Chris Johns: > On 22/03/2018 17:40, Christian Mauderer wrote: >> This adds a vprintf handler that can be used to suppress all outputs of >> the libbsd. > > Why would I want this? > > How would I enable the output so I could see it, for example when working with > the code? > > Chris >
Hello Chris, in this case, a customer asked for no additional output on the console. It would be easy to add the same to the application but it might can be useful for other users too therefore I added it to libbsd. Note that this is fully optional. It doesn't change the default behavior. You explicitly have to set the handler using a old = rtems_bsd_set_vprintf_handler(rtems_bsd_vprintf_handler_mute); If you want to re-enable the output sometime later you could just set the vprintf handler to the old one again (return value of the set function). With kind regards Christian Mauderer -- -------------------------------------------- embedded brains GmbH Herr Christian Mauderer Dornierstr. 4 D-82178 Puchheim Germany email: christian.maude...@embedded-brains.de Phone: +49-89-18 94 741 - 18 Fax: +49-89-18 94 741 - 08 PGP: Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel