#include #include #include #include int main(void) { int dummy; if (ioctl(STDOUT_FILENO, DIOCCACHESYNC, &dummy) == -1) err(1, "fsync_range"); return 0; }