|i am writing a(program) 'application for testing'( in c language,in turbo c),a hardware device, ( i am using a bios.h header file)|
we have to interact with h/w device by using a 'serial port' (RS 232 cable), before we are sending a data to device, i want to know the serial port is ready are not? (i.e., whether, there is any error error in the RS 232 ?),
how can i know, ?
is there any bit function to know, the error in the com port?
plz help me