I'm poking around the kernel code, and wanted to try reading from stdin. Obviously I'm new to kernel programming, so excuse my lack of knowledge in this area. I think the next really useful piece of code would be to add some kind of STDIN and STDOUT that we could use to read and write. How would we go about creating an STDIN? Is there a way to pull keystrokes yet? Perhaps some C code we could utilize?
I'm poking around the kernel code, and wanted to try reading from stdin. Obviously I'm new to kernel programming, so excuse my lack of knowledge in this area. I think the next really useful piece of code would be to add some kind of STDIN and STDOUT that we could use to read and write. How would we go about creating an STDIN? Is there a way to pull keystrokes yet? Perhaps some C code we could utilize?