error: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its
源代码1及报错//源代码strncpy((char*)&temp_buff[len],value,strlen(value));//报错error:‘strncpy’outputtruncatedbeforeterminatingnulcopyingasmanybytesfromastringasitslength