- or download this
use IO::Handle;
open my $f, '/tmp' or die $!;
$f->sync or die "fsync: $!\n";
- or download this
use IO::Handle;
my $f = IO::Handle->new;
opendir $f, '/tmp' or die $!;
$f->sync or die "fsync: $!\n";
- or download this
#include <unistd.h>
#include <stdlib.h>
...
}
return 0;
}