3 ms·
> Curiously, this set-up is still fully accommodated by ISO C standard. This allegedly means that the standard doesn't require fgetc() (which returns a char co
by 0xcde4c3db 8y ago
> Curiously, this set-up is still fully accommodated by ISO C standard.
This allegedly means that the standard doesn't require fgetc() (which returns a char converted to an int on success, or EOF on failure) to have sensible behavior on such platforms [1].
[1] https://stackoverflow.com/a/3861506 https://stackoverflow.com/a/3861506