let pwrite fd off buf ofs len =
      if off < Int64.zero
      then invalid_arg "ExtUnix.LargeFile.pwrite"
      else unsafe_pwrite fd off buf ofs len