Commit Graph

5 Commits

Author SHA1 Message Date
Chris Johns
b9d16f713f libmisc/redirector: Fix unlock on exit from the handler. 2015-03-18 16:09:52 +11:00
Joel Sherrill
9488c9d1f5 libmisc/redirector/stdio-redirect.c: Use UL constants since usleep() should take more than 16-bit constants 2014-10-16 08:58:47 -05:00
Joel Sherrill
388a4e439a libmisc/redirector/stdio-redirect.c: Use sleep not usleep and do not overflow 16-bit int 2014-10-13 10:32:39 -05:00
Sebastian Huber
c040b113da redirector: Rename rtems_stdio_redirect_t
Rename rtems_stdio_redirect_t to rtems_stdio_redirect since the
namespace *_t is reserved by POSIX, see also The Open Group Base
Specifications Issue 6 IEEE Std 1003.1, 2004 Edition, 2.2.2 The Name
Space.
2014-09-17 07:21:35 +02:00
Chris Johns
ebf9a057b5 libmisc: Add a stdio redirector helper.
This module makes it easy to redirect and capture stdout, stderr or any
other fd in your application.

The captured data can be sent off board, for example using syslog,
or buffered and displayed in a web page.
2014-09-16 15:19:58 +10:00