Path: utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!iuvax!uceng!mfinegan From: mfinegan@uceng.UC.EDU (michael k finegan) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: Microsoft C problem: fread() appears not to work in large model. Message-ID: <5425@uceng.UC.EDU> Date: 12 Jul 90 13:22:34 GMT References: <5078@castle.ed.ac.uk> Organization: Univ. of Cincinnati, College of Engg. Lines: 17 elee24@castle.ed.ac.uk (H Bruce) writes: >Does the function fread() work in the large model ? >It appears not to in my code. >Can someone confirm this one way or the other ? ... >Thanks, >Henry Bruce I have found that fread() and fwrite() won't succeed for certain size buffers (why???). The 'workaraound', though it defeats the idea of detecting file i/o failure, is to ignore the return value ... (comments from those at MS ?) - Mike Finegan mfinegan@uceng.UC.EDU