Subject: None
To: None <port-i386@netbsd.org>
From: karthik thangavel trt <tkarthik11@rediffmail.com>
List: port-i386
Date: 11/27/2001 04:22:47
Respected Sir=0D=0A Can u plz clarify my doubt.=0D=0A=0D=0A HOW to use ou=
tport() in borland C++?=0D=0A=0D=0A My code was=0D=0A # include<stdio=
.h>=0D=0A # include <conio.h>=0D=0A # include<dos.h>=0D=0A=0D=0A =
void main()=0D=0A {=0D=0A int value=3D20;=0D=0A int p=
ort=3Dox12=0D=0A outport(port,value);=0D=0A }=0D=0A=0D=0A When=
I compile this program it warns a message:=0D=0A"Call to a function outpor=
tb() without a prototype"=0D=0A=0D=0A When I make the program it throws a=
n error=0D=0A"unresolved external _outportw from d:\filename.c"=0D=0A=0D=0A=
Can you please solve this error=0D=0A=0D=0A=0D=0A with regards=
=0D=0A T.Karthik=0D=0A =0A