diff options
Diffstat (limited to 'lib/libc/net/rcmdsh.3')
-rw-r--r-- | lib/libc/net/rcmdsh.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/net/rcmdsh.3 b/lib/libc/net/rcmdsh.3 index daf23bc3c00..9092d19f81a 100644 --- a/lib/libc/net/rcmdsh.3 +++ b/lib/libc/net/rcmdsh.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rcmdsh.3,v 1.17 2015/03/23 22:29:32 halex Exp $ +.\" $OpenBSD: rcmdsh.3,v 1.18 2016/05/28 15:48:30 millert Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: March 23 2015 $ +.Dd $Mdocdate: May 28 2016 $ .Dt RCMDSH 3 .Os .Sh NAME @@ -55,10 +55,10 @@ The function looks up the host .Fa *ahost using -.Xr gethostbyname 3 +.Xr getaddrinfo 3 and, if the host exists, .Fa *ahost -is set to the standard name of the host. +is set to the canonical name of the host. A connection is then established to a server residing at the well-known Internet port .Li shell/tcp |