c 调用“sync”是否与 linux 命令“sync”执行相同的操作? 如果不是,它们有何不同?
C/C++ 代码在基于 Linux 的系统上运行。
/谢谢
最佳答案
来自 sync(8)
手册页:
The sync program does nothing but exercise the sync(2) system call.
关于c - c call sync 和命令sync 做的一样吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6758912/