🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.ibm.pc.programmer
2 messages
2 total messages Started by H Bruce Mon, 09 Jul 1990 13:10
Microsoft C problem: fread() appears not to work in large model.
#895
Author: H Bruce
Date: Mon, 09 Jul 1990 13:10
9 lines
646 bytes
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 ?
If not what is the best way to "work around" this problem - do other compilers
have the same problem ?

Thanks,

Henry Bruce
Re: Microsoft C problem: fread() appears not to work in large model.
#945
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads