> > Note that the above says byte input, not byte return type. I think it is > the same as getc() in C. It reads bytes but returns larger integer to > facilitate signaling end of file. > > Under these assumptions 0xFF would be 255, not -1. >
Yes, but in byte mode, 0xFF is a valid byte…..I still think it is a documentation problem, it’s the classic “rogue value” problem. _______________________________________________ Users-prolog mailing list [email protected] https://lists.gnu.org/mailman/listinfo/users-prolog
