Sujet : Re: Buffer contents well-defined after fgets() reaches EOF ?
De : already5chosen (at) *nospam* yahoo.com (Michael S)
Groupes : comp.lang.cDate : 14. Feb 2025, 16:23:58
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20250214172358.0000739b@yahoo.com>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
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.