3 ms·And as the GP said, for those cases that truncating is expected (or not a problem) then use strncpy_s.by tankenmate 12y agoAnd as the GP said, for those cases that truncating is expected (or not a problem) then use strncpy_s.