io-get-openmodes.lisp 274 B

123456789101112
  1. (in-package :hurd-translator)
  2. (def-io-interface :io-get-openmodes ((port port)
  3. (bits :pointer))
  4. (with-lookup protid port
  5. (setf (mem-ref bits 'open-flags)
  6. (only-flags (flags (open-node protid))
  7. +honored-get-modes+))
  8. t))