printf, console and terminal
Hi,
I m porting to linux to a custom architecture. I have added a system console to get the printk from kernel. However, I am not able to get user space prints working.
I have few questions on this area.
1. How console is related to tty? Do I need to write a new tty driver for my custom architecture.
2. I know printf get directed to stdin/stdout. But what is the relation between tty and these files. How would I know the printf data will call write method of my tty device.
3. In general can someone explain relation between printf->stdin/out->tty->console to me.
|