Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!hela!kam From: kam@iti.org (Keith A. McNabb) Newsgroups: comp.windows.ms.programmer Subject: Stream I/O in Windows Message-ID: <1991Jun11.190819.13143@iti.org> Date: 11 Jun 91 19:08:19 GMT Distribution: na Organization: Industrial Technology Institute Lines: 15 Has anyone found a way to use or emulate the C run-time stream I/O functions, particularly fscanf(). Microsoft documentation suggests using only the low-level read() and write() functions. That's a lot of bother if you're adapting existing code, as fscanf advances the file pointer and recognizes EOF, something sscanf() doesn't do. Obviously, one could make up a "fake" fscanf based on the size of the file and all. I'm just trying to make sure I'm not re-inventing the wheel here. Any suggestions appreciated. Keith McNabb kam@iti.org