carta

strncpy(3) on Linux

The text ec6998fa5afe, as Debian 12 (Bookworm) shipped it.

zero a fixed-width buffer and copy a string into a character sequence with truncation and zero the rest of it

strncpy(3) on Linux now