Writes a double word (4 bytes), determined by value , to the hardware port whose number is given by port
#include <nwconio.h> unsigned int outpd ( int port, unsigned int value);
(IN) Specifies the hardware port.
(IN) Specifies the double word to write.
The value transmitted is returned.
A hardware port is used to communicate with a device. One to 4 bytes can be read and/or written from each port, depending upon the hardware. Consult the technical documentation for your computer in order to determine the port numbers for a device and the expected usage of each port for a device.
#include <nwconio.h> #define DEVICE 34 main () { outpd (DEVICE, 0x1234); }