🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13198

Re: Limit of fopen and/or fread

#13198
From: Alan Bellingham
Date: Fri, 24 Oct 2003 13:25
17 lines
1373 bytes
"Mike King" <emailMK@excite.com> wrote:

>> >   fp = fopen(filename,"rt");
>>                           ^
>> It's a text file? --------'
>
>Yes it's a text file.

OK. So no Ctrl-Z in it to cause an early End Of File. (50 MB is fairly
large for a DOS text file.)

BTW - is bytes_read coming back as zero, or some smaller value when it
fails?

Alan Bellingham
-- 
alanb@episys.com
Technical Details
Message-ID: <9m9ipvg1323l686uogag72o2gfl6m6l1b0@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f98a40e$1@newsgroups.borland.com> <psmhpvsqm0cvii3h15skt3qvugcp951b46@4ax.com> <3f99246f@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2167243a1bc457e4
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-24 06:40:32 PST
From: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Limit of fopen and/or fread
Date: Fri, 24 Oct 2003 14:25:16 +0100
Reply-To: alanb@episys.com
Message-ID: <9m9ipvg1323l686uogag72o2gfl6m6l1b0@4ax.com>
References: <3f98a40e$1@newsgroups.borland.com> <psmhpvsqm0cvii3h15skt3qvugcp951b46@4ax.com> <3f99246f@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.92/32.572
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 193.129.251.130
X-Trace: newsgroups.borland.com 1067001915 193.129.251.130 (24 Oct 2003 06:25:15 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail