summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/rcmd.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/net/rcmd.3')
-rw-r--r--src/lib/libc/net/rcmd.317
1 files changed, 7 insertions, 10 deletions
diff --git a/src/lib/libc/net/rcmd.3 b/src/lib/libc/net/rcmd.3
index 6df614b419..ccc7294e52 100644
--- a/src/lib/libc/net/rcmd.3
+++ b/src/lib/libc/net/rcmd.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: rcmd.3,v 1.17 2000/01/27 05:18:47 itojun Exp $ 1.\" $OpenBSD: rcmd.3,v 1.18 2000/02/23 17:28:25 aaron Exp $
2.\" 2.\"
3.\" Copyright (c) 1983, 1991, 1993 3.\" Copyright (c) 1983, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -86,6 +86,7 @@ can handle IPv4 cases only,
86the 86the
87.Fn rcmd_af 87.Fn rcmd_af
88function can handle other cases as well. 88function can handle other cases as well.
89.Pp
89The 90The
90.Fn rresvport 91.Fn rresvport
91and 92and
@@ -145,12 +146,8 @@ signal numbers, to be
145forwarded to the process group of the command. 146forwarded to the process group of the command.
146If 147If
147.Fa fd2p 148.Fa fd2p
148is 0, then the 149is 0, then the standard error (unit 2 of the remote command) will be made the
149.Em stderr 150same as the standard output and no
150(unit 2 of the remote
151command) will be made the same as the
152.Em stdout
153and no
154provision is made for sending arbitrary signals to the remote process, 151provision is made for sending arbitrary signals to the remote process,
155although you may be able to get its attention by using out-of-band data. 152although you may be able to get its attention by using out-of-band data.
156Note that if the user is not the super-user, 153Note that if the user is not the super-user,
@@ -234,11 +231,11 @@ can handle other address families as well, like IPv6.
234The first argument of 231The first argument of
235.Fn iruserok_sa 232.Fn iruserok_sa
236is typed as 233is typed as
237.Fa "void *" 234.Li "void *"
238to avoid dependency between 235to avoid dependency between
239.Aq Li unistd.h 236.Aq Pa unistd.h
240and 237and
241.Aq Li sys/socket.h . 238.Aq Pa sys/socket.h .
242.Sh DIAGNOSTICS 239.Sh DIAGNOSTICS
243The 240The
244.Fn rcmd 241.Fn rcmd