Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!samsung!uunet!sugar!peterc From: peterc@Sugar.NeoSoft.com (Peter Creath) Newsgroups: comp.sys.mac.programmer Subject: Re: Reading Serial Port : Think C Summary: SerGetBuf(short InputRef,long &count); Message-ID: <1991Jun28.231627.4095@Sugar.NeoSoft.com> Date: 28 Jun 91 23:16:27 GMT References: <11434@bunny.GTE.COM> Organization: Sugar Land Unix -- Houston, TX Lines: 10 You're right. FSRead does wait. You need to do a SerGetBuf call to get the # of bytes in the buffer. SerGetBuf(portInRef,&in); portInRef would be "AinRefNum" from your sample code, and &in would be "&count". portInRef is a short int, and "in" is a long int. --