[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: tolower()/islower() and char
On Thu, Jan 14, 2021 at 12:19:39PM +0100, Martin Husemann wrote:
> On Thu, Jan 14, 2021 at 12:14:28PM +0100, Manuel Bouyer wrote:
> > Any comment about this ? I'm not familiar with these details ...
> man ctype and search for CAVEATS
So NetBSD and glibc took different approach to try to avoid undefined
behavior. I am right saying that both are standard-compliant ?
Does the standard explicitely state that the value should either be
EOF or >= 0 ?
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
Main Index |
Thread Index |