《Linux函数调用手册》之___sync将缓冲区数据写回磁盘
定义:
int sync(void)
表头文件:
#include<unistd.h>
说明:
sync()负责将系统缓冲区数据写回磁盘, 以确保数据同步。
返回值:
返回0。
相关函数:
fsync
返回顶部 | 《Linux函数调用大全》 | 《Linux命令大全》 | Linux专栏