summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-02-23 17:28:26 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-02-23 17:28:26 +0000
commitaba704852e60c1dcbfc63899699420018e5060d5 (patch)
tree762350921126e7ebdb451019f0e43fb0fcf42074 /lib
parentcedfa0c32057e4d7d642fd8e3992d4aef1ae5a4b (diff)
Small bits of clean-up.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/rcmd.317
-rw-r--r--lib/libc/net/rcmdsh.38
2 files changed, 11 insertions, 14 deletions
diff --git a/lib/libc/net/rcmd.3 b/lib/libc/net/rcmd.3
index 6df614b419b..ccc7294e529 100644
--- a/lib/libc/net/rcmd.3
+++ b/lib/libc/net/rcmd.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rcmd.3,v 1.17 2000/01/27 05:18:47 itojun Exp $
+.\" $OpenBSD: rcmd.3,v 1.18 2000/02/23 17:28:25 aaron Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -86,6 +86,7 @@ can handle IPv4 cases only,
the
.Fn rcmd_af
function can handle other cases as well.
+.Pp
The
.Fn rresvport
and
@@ -145,12 +146,8 @@ signal numbers, to be
forwarded to the process group of the command.
If
.Fa fd2p
-is 0, then the
-.Em stderr
-(unit 2 of the remote
-command) will be made the same as the
-.Em stdout
-and no
+is 0, then the standard error (unit 2 of the remote command) will be made the
+same as the standard output 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.
Note that if the user is not the super-user,
@@ -234,11 +231,11 @@ can handle other address families as well, like IPv6.
The first argument of
.Fn iruserok_sa
is typed as
-.Fa "void *"
+.Li "void *"
to avoid dependency between
-.Aq Li unistd.h
+.Aq Pa unistd.h
and
-.Aq Li sys/socket.h .
+.Aq Pa sys/socket.h .
.Sh DIAGNOSTICS
The
.Fn rcmd
diff --git a/lib/libc/net/rcmdsh.3 b/lib/libc/net/rcmdsh.3
index 2498f4c708a..29a1e4cf63d 100644
--- a/lib/libc/net/rcmdsh.3
+++ b/lib/libc/net/rcmdsh.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rcmdsh.3,v 1.6 1999/07/05 04:41:00 aaron Exp $
+.\" $OpenBSD: rcmdsh.3,v 1.7 2000/02/23 17:28:25 aaron Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -68,8 +68,8 @@ and a connection is established to a server
residing at the well-known Internet port
.Li shell/tcp
(or whatever port is used by
-.Fa rshprog
-). The parameter
+.Fa rshprog ) .
+The parameter
.Fa inport
is ignored; it is only included to provide an interface similar to
.Xr rcmd 3 .
@@ -95,7 +95,7 @@ It returns \-1 on error and prints a diagnostic message on the standard error.
.Sh BUGS
If
.Xr rsh 1
-gets an error a file descriptor is still returned instead of \-1.
+encounters an error, a file descriptor is still returned instead of \-1.
.Sh HISTORY
The
.Fn rcmdsh