diff options
author | murray <murray@FreeBSD.org> | 2008-12-14 22:48:48 +0000 |
---|---|---|
committer | murray <murray@FreeBSD.org> | 2008-12-14 22:48:48 +0000 |
commit | ac00ba8d82ff1b7e9c4ef9dc181649c3d6c86411 (patch) | |
tree | c75096d808a6bf167240603b802af9e4e4187de4 /lib/libc | |
parent | 0567f5c986ea49c26e0d82ecf2879e6c3640f3d6 (diff) | |
download | FreeBSD-src-ac00ba8d82ff1b7e9c4ef9dc181649c3d6c86411.zip FreeBSD-src-ac00ba8d82ff1b7e9c4ef9dc181649c3d6c86411.tar.gz |
Add an ENVIRONMENT section to note that the RSH variable can be set to
override the use of the rsh(1) program in rcmd(3).
PR: docs/51133
Obtained from: NetBSD, partially
MFC after: 3 weeks
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/net/rcmd.3 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/net/rcmd.3 b/lib/libc/net/rcmd.3 index e0643db..a7d2f8b 100644 --- a/lib/libc/net/rcmd.3 +++ b/lib/libc/net/rcmd.3 @@ -238,6 +238,13 @@ For .Fn rcmd_af , .Dv PF_UNSPEC is also allowed. +.Sh ENVIRONMENT +.Bl -tag -width RSH +.It Ev RSH +When using the +.Fn rcmd +function, this variable is used as the program to run instead of +.Xr rsh 1 . .Sh DIAGNOSTICS The .Fn rcmd |