Function: tramp-handle-process-attributes

tramp-handle-process-attributes is a byte-compiled function defined in tramp.el.gz.

Signature

(tramp-handle-process-attributes PID)

Documentation

Like process-attributes for Tramp files.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defun tramp-handle-process-attributes (pid)
  "Like `process-attributes' for Tramp files."
  (catch 'result
    (dolist (elt (tramp-get-process-attributes
                  (tramp-dissect-file-name default-directory)))
      (when (= (cdr (assq 'pid elt)) pid)
        (throw 'result elt)))))