| err = ESUCCESS, err0 = err1, f = fs[fh.fid], fh = ofh[fd], n0 = n1, root.dir?, fids-cons(root, fs, ofh), pre-read(fd, n0, err, user, root, fs, ofh), fd ∈ ofh, fh.fid ∈ fs, 0 + n ≤ # buf, n ≤ n0, fh.pos + n ≤ # f.content, n1 ≤ # buf ⊦ ⟪ofh[fd].pos := fh.pos + n⟫ fids-cons(root, fs, ofh) |
err = ESUCCESS, err0 = err1, f = fs[fh.fid], fh = ofh[fd], n0 = n1, root.dir?, fids-cons(root, fs, ofh), pre-read(fd, n0, err, user, root, fs, ofh), fh.fid ∈ fs, fd ∈ ofh, n1 ≤ # buf, fh.pos + n ≤ # f.content, n ≤ n0, 0 + n ≤ # buf ⊦ fids-cons(root, fs, ofh[fd, ofh[fd].pos:= (fh.pos + n)])