inportb() Input from Hardware Port #include <dos.h> int inport(port); int port; Specified port inportb() is a macro that reads a word from the input port specified by 'port'. Returns: The value read from 'port'. Notes: If <dos.h> is not included or if you include <dos.h> and #undef inportb(), the function inportb() will be called. Seealso: