static char storage_file_content[BUFSIZE];// fread(storage_file_content, sizeof(char), BUFSIZE, file_source_pointer); fwrite(storage_file_content, sizeof(char), strlen(storage_file_content), file_append_pointer); //string length = text mode file bytes - 1; return;
原文:https://www.cnblogs.com/constanted/p/14842505.html