~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/strxnmov.c

Removed references to strmov and strnmov

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    strxnmov(dst, len, src1, ..., srcn, NullS)
24
24
    moves the first len characters of the concatenation of src1,...,srcn
25
25
    to dst and add a closing NUL character.
26
 
    It is just like strnmov except that it concatenates multiple sources.
 
26
    It is just like stpncpy except that it concatenates multiple sources.
27
27
    Beware: the last argument should be the null character pointer.
28
28
    Take VERY great care not to omit it!  Also be careful to use NullS
29
29
    and NOT to use 0, as on some machines 0 is not the same size as a
30
30
    character pointer, or not the same bit pattern as NullS.
31
31
 
32
32
    NOTE
33
 
      strxnmov is like strnmov in that it moves up to len
 
33
      strxnmov is like stpncpy in that it moves up to len
34
34
      characters; dst will be padded on the right with one '\0' character.
35
35
      if total-string-length >= length then dst[length] will be set to \0
36
36
*/