diff options
| -rw-r--r-- | src/lib/libc/net/rcmd.3 | 10 | ||||
| -rw-r--r-- | src/lib/libc/net/rcmdsh.3 | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/libc/net/rcmd.3 b/src/lib/libc/net/rcmd.3 index 3bba0bc73d..b2a5cdea9b 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.33 2016/05/23 00:12:58 guenther Exp $ | 1 | .\" $OpenBSD: rcmd.3,v 1.34 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: May 23 2016 $ | 30 | .Dd $Mdocdate: May 28 2016 $ |
| 31 | .Dt RCMD 3 | 31 | .Dt RCMD 3 |
| 32 | .Os | 32 | .Os |
| 33 | .Sh NAME | 33 | .Sh NAME |
| @@ -94,10 +94,10 @@ The | |||
| 94 | function looks up the host | 94 | function looks up the host |
| 95 | .Fa *ahost | 95 | .Fa *ahost |
| 96 | using | 96 | using |
| 97 | .Xr gethostbyname 3 | 97 | .Xr getaddrinfo 3 |
| 98 | and, if the host exists, | 98 | and, if the host exists, |
| 99 | .Fa *ahost | 99 | .Fa *ahost |
| 100 | is set to the standard name of the host. | 100 | is set to the canonical name of the host. |
| 101 | A connection is then established to a server | 101 | A connection is then established to a server |
| 102 | residing at the well-known Internet port | 102 | residing at the well-known Internet port |
| 103 | .Fa inport . | 103 | .Fa inport . |
| @@ -188,7 +188,7 @@ file; otherwise | |||
| 188 | .Fn ruserok | 188 | .Fn ruserok |
| 189 | returns \-1. | 189 | returns \-1. |
| 190 | If the local domain (as obtained from | 190 | If the local domain (as obtained from |
| 191 | .Xr gethostname 3 ) | 191 | .Xr getaddrinfo 3 ) |
| 192 | is the same as the remote domain, only the machine name need be specified. | 192 | is the same as the remote domain, only the machine name need be specified. |
| 193 | .Pp | 193 | .Pp |
| 194 | .Fn ruserok | 194 | .Fn ruserok |
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 |
