これで我慢しとけ。Win32のlstrcpynと同じ仕様だ。
char *strcpyn(char *str1, const char *str2, size_t count)
{
*str1 = '\0';
return strncat(str1, str2, count);
}