4byte *
strncpyUC(
byte *dest,
const byte *src,
size_t n)
18 CharTableBytes = p - src;
20 if(CharTableBytes == 0)
21 strncpy(dest, src, n);
24 memcpy(dest, (
void *) src, CharTableBytes < n ? CharTableBytes : n);
25 strncpy(&dest[CharTableBytes], p, n - CharTableBytes);
byte * SkipCharTableBytes(const byte *p)
byte * strncpyUC(byte *dest, const byte *src, size_t n)