安全的使用方法:. 在使用strncpy之前清零dest(memset等其他方式),使用时strncpy(dest, src, size-1);(size为dest空间大小);. 如果在使用strncpy之前不能判断dest ...
確定! 回上一頁