News for hackers. Stuff that matters.
Re:Considering C99 for Curl by masklinn on Tuesday November 22, 2022 @12:14PM (#33708147)
Have you considered giving reading comprehension a try?

Fixed-size strings are strings, just not nul-terminated strings. So are length-prefixed (“pascal”) strings.

Strncpy does not work with nul-terminated strings as I noted. If you’re working with fixed-size nul-padded strings however it’s the correct function to use.

Re:Considering C99 for Curl by torstenvl on Tuesday November 22, 2022 @12:16PM (#33708187)
> Have you considered giving reading comprehension a try?

Don't do this.

Re:Considering C99 for Curl by masklinn on Tuesday November 22, 2022 @01:46PM (#33709396)
Then don’t demand it by wilfully misunderstanding comments in order to “well actually” them.