107
111
to dst. If there aren't that many characters, a NUL character will
108
112
be added to the end of dst to terminate it properly. This gives the
109
113
same effect as calling strxcpy(buff, src1, ..., srcn, NullS) with a
110
large enough buffer, and then calling stpncpy(dst, buff, len).
114
large enough buffer, and then calling strnmov(dst, buff, len).
112
116
Beware: the last argument should be the null character pointer.
113
117
Take VERY great care not to omit it! Also be careful to use NullS
114
118
and NOT to use 0, as on some machines 0 is not the same size as a
115
119
character pointer, or not the same bit pattern as NullS.
118
122
characters; dst will be padded on the right with NUL characters as
119
123
needed. strxncpy does the same. strxncat, like strncat, does NOT.