替代Windows的Fsync c
发布时间:2020-07-23 11:11:27 所属栏目:Windows 来源:互联网
导读:是否有替代 Windows的fsync? (C建造者) Fsync需要包含unistd.h,它仅适用于unix系统 谢谢! 从手册页: fflush() forces a write of all user-space buffered data for the given output or update stream via the stream’s underlying write func
|
是否有替代 Windows的fsync? (C建造者) Fsync需要包含unistd.h,它仅适用于unix系统 谢谢! 从手册页:
提到的write函数告诉操作系统文件的内容应该是什么.此时,所有更改将在实际提交到磁盘之前保存在文件系统缓存中. POSIX函数fsync()告诉操作系统将其缓存中的所有更改同步到磁盘.正如其他人所说,你可以在Windows平台上使用FlushFileBuffers. (编辑:长春站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- window python2.7 ImportError: No module named MySQLdb
- 记忆管理 – WinRT是否有垃圾收集?
- Windows:忘记本地账户开机密码,但记得住PIN码
- Windows Phone 8.1 cordova下拉列表无法正常工作
- office365 – 使用Microsoft Graph API显示即将到来的Offic
- 使用def文件简化dll导出
- 09、组策略之软件分发(06)
- Windows调试工具入门 — windebug
- jboss7.x – 无法登录到windows上的jboss 7.1管理控制台
- Windows – Win32:如何将字符串转换为日期?
