For Linux you can include <sys/io.h>
to have I/O Ports with hardware I assume?
outb(...);
outw(...);
inb(...);
Which header must I include to have these functions for Windows compilation?
Edit:
Windows equivalent of inb()
, outb()
low-level I/O says it's impossible on Windows; you need install a driver on Windows to use a quick fix.
Generally, for MS Windows low level io is WinAPI functions like CreateFile, WriteFile and so on.