Thursday, December 28, 2023

Re: irrlamb vs ctype.h

2023-12-28T19:29:52Z Theo de Raadt <deraadt@openbsd.org>:

>> To my understanding it's an old BSDism and it's used to implement
>> isupper(3), islower(3), etc.
>
> The names may be old BSD, but this is following a pretty strong ISO rule
> that names starting with '_' are in reserved, and trying to use them
> yourself is undefined.
>
> Changing them to another name that won't collide?  Maybe, I've no opinion.

Right, just found this[1]. Thanks Theo and Theo :)

[1] https://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html

No comments:

Post a Comment