[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] iscntrl(EOF)
On Sun, Feb 27, 2000 at 01:17:02PM +0100, Julian Reschke wrote:
> ANSI says that iscntrl() should return true for non-printing characters. But
> would you consider EOF a character at all?
What EOF are we talking about, ASCII 26 or the C EOF which is usually -1?
I would expect that isxxxx() only works on characters, so I would expect -1
not to be valid.
BTW: what happens if characters are signed? In that case, EOF and some
character (binary 0xff, which is a valid and used character in ISO-8859-1)
can not be distinguished.
cu
Michael
--
Michael Schwingen, Ahornstrasse 36, 52074 Aachen