StringPtr PStrNCopy (StringPtr dst, ConstStr255Param src, UInt32 max);
char *CStrNCopy (char *dst, const char *src, UInt32 max);
PStrNCopy copies the Pascal string from src to dst. At most max chars are copied. CStrNCopy copies up to max characters from src to dst C strings. If src string is shorter than max, dst string will be padded with null characters. If src string is longer than max, dst string will not be null terminated.