- Aug 12, 2014
- 522
- 3
- 81
Hello,
OK. So, in Linux all I/O devices are mapped into the Linux file system.
I believe that /dev is the folder where all I/O devices are mapped.
So, in Linux if you want to communicate with these devices in C, you simply call fopen().
But, in Windows the I/O devices aren't mapped to the file system anywhere (or am I wrong?).
So, if I want to talk to an I/O device, what do I pass to fopen()?
Do I use another function instead?
Thanks.
OK. So, in Linux all I/O devices are mapped into the Linux file system.
I believe that /dev is the folder where all I/O devices are mapped.
So, in Linux if you want to communicate with these devices in C, you simply call fopen().
But, in Windows the I/O devices aren't mapped to the file system anywhere (or am I wrong?).
So, if I want to talk to an I/O device, what do I pass to fopen()?
Do I use another function instead?
Thanks.