Date: Thu, 5 Feb 2026 14:34:58 +0100
Hi David,
On 2026-02-05T09:05:43+0100, David Brown via Std-Proposals wrote:
> And in view of dealing with potentially unvalidated data, it would be nice
> if the C++ standard had "strnlen" here rather than just "strlen".
C has adopted strnlen(3) for C2y. It was added by N3326.
<https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3326.pdf>
Have a lovely day!
Alex
On 2026-02-05T09:05:43+0100, David Brown via Std-Proposals wrote:
> And in view of dealing with potentially unvalidated data, it would be nice
> if the C++ standard had "strnlen" here rather than just "strlen".
C has adopted strnlen(3) for C2y. It was added by N3326.
<https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3326.pdf>
Have a lovely day!
Alex
-- <https://www.alejandro-colomar.es>
Received on 2026-02-05 13:35:11
