// whatport.c #include #include #include #include #include #include #include extern unsigned get_port(void); main() { unsigned port = 0; port = get_port(); if(port == 0) printf("no hardware found\n"); else printf("port after get_port = %X\n",port); } // end whatport.c