查阅了一上午资料,没找到解决办法 TAT 。
|
fmumuAug 6, 2020 via Android
1
truncate ?
|
|
zyffyAug 6, 2020
2
ftruncate
|
|
tomychenAug 6, 2020
3
new_size = getfilesize()-16;// 自己实现
fread(data,size, oldfile); fwrite(data, new_size,oldfile);//or newfile |
|
julyclydeAug 6, 2020
4
删除?右移?
|
|
5
@zyffy 这个函数的第一个参数是 int ? 有没有具体用法。
|
|
trn4Aug 6, 2020 via iPhone
6
@ReputationZh man truncate
|
|
nightwitchAug 6, 2020
7
|
|
CookyAug 6, 2020 via Android
8
truncate
|