title: serial port in C
body: <p>I have written a program  in  C  to send a byte to serial port (com).
  I have used BIOSCOM to send data 
  but I guess that it doesn't open the port.
  Please tell how I can open and close a com port in C.</p>
  
  <p>My code is here:</p>
  
  <pre><code>#define COM1 1;
  bioscom (1 , 65 , COM1);
  </code></pre>
  
  <p>Please help me...</p>