summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-04 18:57:46 +0000
committerru <ru@FreeBSD.org>2002-12-04 18:57:46 +0000
commitea13b9803b8a849cb95aa4a9b15b1f007b9fd3b0 (patch)
tree98ead4f30dc156961d0a69e06b26fd806200f3b6 /lib/libc/net
parent23c63c0ea95f425ca7f300fe99237f7041b547bf (diff)
downloadFreeBSD-src-ea13b9803b8a849cb95aa4a9b15b1f007b9fd3b0.zip
FreeBSD-src-ea13b9803b8a849cb95aa4a9b15b1f007b9fd3b0.tar.gz
Consistently mark std(in|out|err) with .Dv, because that's how they
are marked up in stdio(3), and because they are defined expressions of type "FILE *". Approved by: re
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/rcmd.38
-rw-r--r--lib/libc/net/rcmdsh.35
2 files changed, 8 insertions, 5 deletions
diff --git a/lib/libc/net/rcmd.3 b/lib/libc/net/rcmd.3
index ba2cc55..5367655 100644
--- a/lib/libc/net/rcmd.3
+++ b/lib/libc/net/rcmd.3
@@ -105,9 +105,9 @@ a socket in the Internet domain of type
.Dv SOCK_STREAM
is returned to the caller, and given to the remote
command as
-.Em stdin
+.Dv stdin
and
-.Em stdout .
+.Dv stdout .
If
.Fa fd2p
is non-zero, then an auxiliary channel to a control
@@ -123,10 +123,10 @@ forwarded to the process group of the command.
If
.Fa fd2p
is 0, then the
-.Em stderr
+.Dv stderr
(unit 2 of the remote
command) will be made the same as the
-.Em stdout
+.Dv stdout
and no
provision is made for sending arbitrary signals to the remote process,
although you may be able to get its attention by using out-of-band data.
diff --git a/lib/libc/net/rcmdsh.3 b/lib/libc/net/rcmdsh.3
index f10073e..10d95a2 100644
--- a/lib/libc/net/rcmdsh.3
+++ b/lib/libc/net/rcmdsh.3
@@ -90,7 +90,10 @@ a socket in the
domain of type
.Dv SOCK_STREAM
is returned to the caller, and given to the remote
-command as stdin, stdout, and stderr.
+command as
+.Dv stdin , stdout ,
+and
+.Dv stderr .
.Sh RETURN VALUES
The
.Fn rcmdsh
OpenPOWER on IntegriCloud