| err = ESUCCESS, err0 = err1, n0 = n, root.dir?, fids-cons(root, fs, ofh), pre-write(fd, buf, n0, err, user, root, fs, ofh), n ≤ # buf ⊦ fd ∈ ofh |
Used simplifier rules: ⊦ pre-write(fd, buf, n, ESUCCESS, user, root, fs, ofh) ↔ fd ∈ ofh ∧ (ofh[fd].mode = MODE_W ∨ ofh[fd].mode = MODE_RW); (s)