fseek/fgetc puzzle

Gert Doering gert at greenie.muc.de
Tue Feb 21 06:18:55 AEDT 2023


On Mon, Feb 20, 2023 at 08:00:24PM +0100, Steffen Nurpmeso wrote:
>     Jörg Schilling however convinced me that the standard requires
>     this behaviour, and it is also in the C FAQ.  Nonetheless...

Do you have references for this?


(Especially since "if the standard requires this" all the BSDs would
be in error here)

"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             gert at greenie.muc.de

More information about the openssh-unix-dev mailing list