Re:C Portability Lessons from Weird Machines
by 0xcde4c3db on Friday November 16, 2018 @08:31AM
(#18468572)
> 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].
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