Re: fopen() on /dev/console

2020-02-14 Thread Joel Sherrill
On Fri, Feb 14, 2020 at 10:11 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 14/02/2020 17:02, Joel Sherrill wrote: > > > Hi > > > > I was porting some code from Linux to RTEMS. It doesn't use stdin/out, > > error directly but does all debug IO to a configured file. Most of t

Re: fopen() on /dev/console

2020-02-14 Thread Sebastian Huber
On 14/02/2020 17:02, Joel Sherrill wrote: Hi I was porting some code from Linux to RTEMS. It doesn't use stdin/out, error directly but does all debug IO to a configured file. Most of the time when running on Linux, the device is /dev/stderr. For the RTEMS port, I added link(/dev/console, /dev