Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!snorkelwacker.mit.edu!hsdndev!bunny!rc05 From: rc05@gte.com (Ramesh Chandak) Newsgroups: comp.sys.mac.programmer Subject: Reading Serial Port : Think C Message-ID: <11434@bunny.GTE.COM> Date: 28 Jun 91 14:21:39 GMT Organization: GTE Laboratories Incorporated, Waltham MA Lines: 12 I'm using FSRead procedure to read the serial port. What I'd like to do is read the serial port once, if there is any character, then do something else do something. Currently what it does is waits until it gets a character. The code reads like this : err = FSRead( AinRefNum, count, inbuf ) any ideas on how I do it ? please email your responses to Ramesh at rc05@gte.com. Thank You. - Ramesh