3 ms·strncpy is fine if you wrap it with a length error check or explicit 0 terminator.by nitrogen 11y agostrncpy is fine if you wrap it with a length error check or explicit 0 terminator.