#include <stdlib.h>#include <string.h>ioperm wrapper functions
| int ioperm | ( | unsigned long | from, | |
| unsigned long | num, | |||
| int | permit | |||
| ) |
try to get access to a range of IO-Ports
| from | IO-Port start address | |
| num | requested number of byte addresses | |
| permit | 1=enable access; 0=disable access |
| 0 | OK | |
| -1 | Failure |
| unsigned port_base = PORT_BASE |
LPT port address.
Referenced by main(), and parseParameter().