C语言sync()函数:写文件函数(将缓冲区数据写回磁盘)
相关函数:fsync
头文件:#include <unistd.h>
定义函数:int sync(void);
函数说明:sync()负责将系统缓冲区数据写回磁盘, 以确保数据同步.
返回值:返回 0.
头文件:#include <unistd.h>
定义函数:int sync(void);
函数说明:sync()负责将系统缓冲区数据写回磁盘, 以确保数据同步.
返回值:返回 0.
精美而实用的网站,关注编程技术,追求极致,让您轻松愉快的学习。
Copyright ©2012-2025 biancheng.net, All Rights Reserved,冀ICP备2022013920号-4