Alejandro Colomar wrote:
> But if you define
> 
>       #define strnul(s)  strchr(s, '\0')
> 
> it will be const-generic as soon as strchr(3) becomes const-generic in
> libc.  Wouldn't that be enough?

For a macro, this would be enough. But as Paul said, we also need it
as a function.

Bruno




Reply via email to