fflush:是把C库中的缓冲调用write函数写到磁盘[其实是写到内核的缓冲区]。fsync:是把内核缓冲刷到磁盘上。
c fflush vs fsync
猜你喜欢
转载自blog.csdn.net/qq_16097611/article/details/78968793
今日推荐
周排行