🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #945

Re: Microsoft C problem: fread() appears not to work in large model.

#945
From: michael k finegan
Date: Thu, 12 Jul 1990 13:22
17 lines
901 bytes
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
Technical Details
Message-ID: <5425@uceng.UC.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!iuvax!uceng!mfinegan
References: <5078@castle.ed.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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