diff options
Diffstat (limited to 'src/lib/libc/net/rcmdsh.3')
-rw-r--r-- | src/lib/libc/net/rcmdsh.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/net/rcmdsh.3 b/src/lib/libc/net/rcmdsh.3 index daf23bc3c0..9092d19f81 100644 --- a/src/lib/libc/net/rcmdsh.3 +++ b/src/lib/libc/net/rcmdsh.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: rcmdsh.3,v 1.17 2015/03/23 22:29:32 halex Exp $ | 1 | .\" $OpenBSD: rcmdsh.3,v 1.18 2016/05/28 15:48:30 millert 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: March 23 2015 $ | 30 | .Dd $Mdocdate: May 28 2016 $ |
31 | .Dt RCMDSH 3 | 31 | .Dt RCMDSH 3 |
32 | .Os | 32 | .Os |
33 | .Sh NAME | 33 | .Sh NAME |
@@ -55,10 +55,10 @@ The | |||
55 | function looks up the host | 55 | function looks up the host |
56 | .Fa *ahost | 56 | .Fa *ahost |
57 | using | 57 | using |
58 | .Xr gethostbyname 3 | 58 | .Xr getaddrinfo 3 |
59 | and, if the host exists, | 59 | and, if the host exists, |
60 | .Fa *ahost | 60 | .Fa *ahost |
61 | is set to the standard name of the host. | 61 | is set to the canonical name of the host. |
62 | A connection is then established to | 62 | A connection is then established to |
63 | a server residing at the well-known Internet port | 63 | a server residing at the well-known Internet port |
64 | .Li shell/tcp | 64 | .Li shell/tcp |