Function: tramp-get-remote-arg-max

tramp-get-remote-arg-max is a byte-compiled function defined in tramp-sh.el.gz.

Signature

(tramp-get-remote-arg-max VEC)

Documentation

Return ARG_MAX config from the remote side.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defun tramp-get-remote-arg-max (vec)
  "Return ARG_MAX config from the remote side."
  (with-tramp-connection-property vec "arg-max"
    (when-let* ((result
		 (tramp-send-command-and-read
		  vec (format "getconf ARG_MAX 2>%s"
			      (tramp-get-remote-null-device vec))
		  'noerror))
		((natnump result)))
      result)))