snprintf (dst, n, "%s", src) makes certain that dst is null character terminated. strncpy(dst, src, n) does not do that. strncpy(dst, src, n) ...
確定! 回上一頁