io-get-owner.lisp 200 B

12345678910
  1. (in-package :hurd-translator)
  2. (def-io-interface :io-get-owner ((port port)
  3. (owner :pointer))
  4. (with-lookup protid port
  5. (setf (mem-ref owner 'pid-t) (owner (get-node protid)))
  6. t))