Function: tramp-get-remote-null-device

tramp-get-remote-null-device is a byte-compiled function defined in tramp.el.gz.

Signature

(tramp-get-remote-null-device VEC)

Documentation

Return null device on the remote host identified by VEC.

If VEC is tramp-null-hop, return local null device.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defun tramp-get-remote-null-device (vec)
  "Return null device on the remote host identified by VEC.
If VEC is `tramp-null-hop', return local null device."
  (if (equal vec tramp-null-hop)
      null-device
    (with-tramp-connection-property vec "null-device"
      (let ((default-directory (tramp-make-tramp-file-name vec)))
        (null-device)))))