0

windows 下使用 fflush 刷新缓冲区后,资源管理器的文件大小没有变化

 2 years ago
source link: https://www.v2ex.com/t/818323
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  C++

windows 下使用 fflush 刷新缓冲区后,资源管理器的文件大小没有变化

  wildlynx · 8 小时 6 分钟前 · 287 次点击
fopen (*****)
while ( true ){
fwrite
fflush
if (***)
break
}
fclose

运行很久之后,文件大小很久没有变化,一直为 0. 这是 windows 的特性吗?

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK