Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
      substr($mmap,2+SEGMENT_SIZE*$segment,length)=$_;
      substr($mmap,0,1)=chr($segment);
    }
    
  2. or download this
    #!/usr/bin/perl
    
    ...
      print $line;
      $last_seg = $segment;
    }
    
  3. or download this
    dd if=/dev/zero bs=1 count=8192 of=mm