Deutsch   English   Français   Italiano  
<20250214172358.0000739b@yahoo.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Michael S <already5chosen@yahoo.com>
Newsgroups: comp.lang.c
Subject: Re: Buffer contents well-defined after fgets() reaches EOF ?
Date: Fri, 14 Feb 2025 17:23:58 +0200
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <20250214172358.0000739b@yahoo.com>
References: <vo9g74$fu8u$1@dont-email.me>
	<vo9hlo$g0to$1@dont-email.me>
	<vo9khf$ggd4$1@dont-email.me>
	<vobf3h$sefh$2@dont-email.me>
	<vobjdt$t5ka$1@dont-email.me>
	<vobkd5$t7np$1@dont-email.me>
	<20250210124911.00006b31@yahoo.com>
	<86ldu9zxkb.fsf@linuxsc.com>
	<20250214165108.00002984@yahoo.com>
	<_1JrP.36407$be92.13211@fx16.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 14 Feb 2025 16:24:04 +0100 (CET)
Injection-Info: dont-email.me; posting-host="826449c6656c9e445743af80f927f4e5";
	logging-data="3680351"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18csTVNmeUrSM1/u6NLj155rllcnQrREoU="
Cancel-Lock: sha1:z2HPtDJaFwNGlSyhxIqj2QrrEtk=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
Bytes: 1582

On Fri, 14 Feb 2025 15:10:50 GMT
scott@slp53.sl.home (Scott Lurndal) wrote:


> 
> If you're reading non-string data use read/pread/mmap.


I don't know about you, but in decades of practice I didn't yet
encounter a situation when I can trust a file input with 100%
certainty.