Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!voder!wlbr!pete From: pete@wlbr.IMSD.CONTEL.COM (Pete Lyall) Newsgroups: comp.os.os9 Subject: Re: single character read Message-ID: <60223@wlbr.IMSD.CONTEL.COM> Date: 2 Nov 90 21:54:10 GMT References: <1728@ruunsa.fys.ruu.nl> <1990Nov2.151037.5253@mthvax.cs.miami.edu> Reply-To: pete@wlbr.imsd.contel.com.UUCP (Pete Lyall) Distribution: na Organization: Contel FSD, Westlake Village, CA Lines: 15 Actually, when using read() buffering shouldn't come into play. One possibiliy is a _gs_ready loop (no manual here, so this is approximate): while(!_gs_ready(path)) ; /* do nothing */ read(path,&charbuf,1); Pete Lyall -- Pete Lyall Contel Corporation Compuserve: 76703,4230 OS9_Net: (805) 375-1401 (24hr 300/1200/2400) Internet: pete@wlbr.imsd.contel.com UUCP: {hacgate,jplgodo,voder}!wlbr!pete