News for hackers. Stuff that matters.
Re:Massacring C Pointers by int0x80 on Tuesday June 26, 2018 @02:24PM (#17402906)
Absolutely. strncpy is a very badly designed interface. Is it documented? Yes. Does that make it any good? No.

Principle of least surprise. Idiot proof. Semantics that match common usage. Call it what you like.

There are no comments on this comment yet.