Help for this page

Select Code to Download


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