tech-userlevel archive

[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 <>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index