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.313
1 files changed, 6 insertions, 7 deletions
diff --git a/src/lib/libc/net/rcmd.3 b/src/lib/libc/net/rcmd.3
index b77e417b87..5fe1ee58eb 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.31 2014/04/19 18:11:19 tedu Exp $ 1.\" $OpenBSD: rcmd.3,v 1.32 2015/03/23 22:29:32 halex 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.
@@ -27,7 +27,7 @@
27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28.\" SUCH DAMAGE. 28.\" SUCH DAMAGE.
29.\" 29.\"
30.Dd $Mdocdate: April 19 2014 $ 30.Dd $Mdocdate: March 23 2015 $
31.Dt RCMD 3 31.Dt RCMD 3
32.Os 32.Os
33.Sh NAME 33.Sh NAME
@@ -105,12 +105,11 @@ The
105function looks up the host 105function looks up the host
106.Fa *ahost 106.Fa *ahost
107using 107using
108.Xr gethostbyname 3 , 108.Xr gethostbyname 3
109returning \-1 if the host does not exist. 109and, if the host exists,
110Otherwise
111.Fa *ahost 110.Fa *ahost
112is set to the standard name of the host 111is set to the standard name of the host.
113and a connection is established to a server 112A connection is then established to a server
114residing at the well-known Internet port 113residing at the well-known Internet port
115.Fa inport . 114.Fa inport .
116If the user is not the superuser, the only valid port is 115If the user is not the superuser, the only valid port is