Help for this page

Select Code to Download


  1. or download this
      require "sys/ioctl.ph";
      
    ...
      ioctl(FH, FIONREAD(), $size)
          || die "Couldn't call ioctl: $!\n";
      $size = unpack("L", $size);