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