Re: strncpy clarify result may not be null terminated

Alejandro Colomar
2023-11-07T13:20:59Z

[-- Attachment #1: Type: text/plain, Size: 420 bytes --]

On Tue, Nov 07, 2023 at 11:52:44AM +0000, Jonny Grant wrote:
> We see things differently, I'm on the C standard side on this one. Would any information change your mind?

It's difficult to say, but I doubt it. But let me ask you something:
In what cases would you find strncpy(3) appropriate to use, and why?
Maybe if I understand that it helps.

Kind regards,
Alex

--
<https://www.alejandro-colomar.es/>