Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!ptsfa!ihnp4!chinet!megabyte From: megabyte@chinet.UUCP Newsgroups: comp.lang.c,comp.sys.ibm.pc Subject: How do I access com ports in Microware 4.0 C? Message-ID: <1409@chinet.UUCP> Date: Fri, 14-Aug-87 10:26:34 EDT Article-I.D.: chinet.1409 Posted: Fri Aug 14 10:26:34 1987 Date-Received: Sat, 15-Aug-87 18:01:01 EDT Reply-To: megabyte@chinet.UUCP (Dr. Megabyte) Organization: Chinet - Public Access Unix Lines: 20 Xref: utgpu comp.lang.c:3464 comp.sys.ibm.pc:5881 Summary: I want to open, change , and read and write Just a quick querry to releive me hours of trial and error, about 3 days of which I have already been through. Could some one please send me example code, or just describe how to: 1) Open a com (COM1, COM2) port 2) Change the baud rate, parity, and other communications paramters 3) Having done the above, read and write chars from the com port. The above pertains the Microsoft 'C' version 4.00 and MS-DOS version 3.1. 2.1 MS-DOS would be nice, but not needed. Please E-mail me the answer unless this REALLY is a topic for discussion. -- UUCP: (1) seismo!why_not!scsnet!sunder Mark E. Sunderlin (2) ihnp4!chinet!megabyte aka Dr. Megabyte CIS: 74026,3235 (202) 634-2529 Mail: IRS PM:PFR:D:NO 1111 Constitution Ave. NW Washington,DC 20224