4 ms·
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. Semant
by int0x80 8y ago
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.