Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <vorma3$ebsd$1@dont-email.me>
Deutsch   English   Français   Italiano  
<vorma3$ebsd$1@dont-email.me>

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

Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups: comp.lang.c
Subject: Re: Buffer contents well-defined after fgets() reaches EOF ?
Date: Sun, 16 Feb 2025 04:33:17 +0100
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <vorma3$ebsd$1@dont-email.me>
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> <20250214085627.815@kylheku.com>
 <20250215202915.00004842@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 16 Feb 2025 04:33:24 +0100 (CET)
Injection-Info: dont-email.me; posting-host="0e07c5da3ddf682cd880bc71ef20f653";
	logging-data="470925"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/huTahbc7z1rGmmWFOBSop"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.8.0
Cancel-Lock: sha1:377di7RPng5E2QPuSVHhjdRH18g=
In-Reply-To: <20250215202915.00004842@yahoo.com>
Bytes: 1775

On 15.02.2025 19:29, Michael S wrote:
> 
> One obvious possibility is to return # of characters read instead of
> pointer. Then 0 can mean EOF and negative values can mean I/O errors.
> But that is also not sufficiently boring.

But isn't that the (already existing) interface that 'fread()' had
been designed for?

Janis