Reputation: 20763
Does the c call "sync" do the same as the linux command "sync"? And if not how does they diff?
The C/C++ code is running on a Linux based system.
/Thanks
Upvotes: 1
Views: 825
Reputation: 798626
From the sync(8)
man page:
The sync program does nothing but exercise the sync(2) system call.
Upvotes: 6