io-set-some-openmodes.lisp 346 B

123456789101112
  1. (in-package :hurd-translator)
  2. (def-io-interface :io-set-some-openmodes ((port port)
  3. (new-flags open-flags))
  4. (with-lookup protid port
  5. (setf (flags (open-node protid))
  6. (enable-flags (flags (open-node protid))
  7. (only-flags new-flags +honored-open-modes+)))
  8. t))