diff options
author | aaron <> | 2000-12-24 00:31:00 +0000 |
---|---|---|
committer | aaron <> | 2000-12-24 00:31:00 +0000 |
commit | b11608439e707f8c7601b090028e530ea5a1e067 (patch) | |
tree | 966934b4f9368fd14deca5be22b83ff9fb439cbd /src/lib/libc/net/rcmd.3 | |
parent | 71213d0b131a3545184a31aa671f269eceacad1e (diff) | |
download | openbsd-b11608439e707f8c7601b090028e530ea5a1e067.tar.gz openbsd-b11608439e707f8c7601b090028e530ea5a1e067.tar.bz2 openbsd-b11608439e707f8c7601b090028e530ea5a1e067.zip |
Various repairs, mostly to get rid of short lines.
Diffstat (limited to 'src/lib/libc/net/rcmd.3')
-rw-r--r-- | src/lib/libc/net/rcmd.3 | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/src/lib/libc/net/rcmd.3 b/src/lib/libc/net/rcmd.3 index 89457ab859..683f27a4af 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.22 2000/12/21 22:59:53 deraadt Exp $ | 1 | .\" $OpenBSD: rcmd.3,v 1.23 2000/12/24 00:30:56 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. |
@@ -62,8 +62,7 @@ | |||
62 | .Sh DESCRIPTION | 62 | .Sh DESCRIPTION |
63 | The | 63 | The |
64 | .Fn rcmd | 64 | .Fn rcmd |
65 | function | 65 | function is used by the superuser to execute a command on a remote |
66 | is used by the superuser to execute a command on a remote | ||
67 | machine using an authentication scheme based on reserved | 66 | machine using an authentication scheme based on reserved |
68 | port numbers. | 67 | port numbers. |
69 | If the calling process is not setuid, the | 68 | If the calling process is not setuid, the |
@@ -92,8 +91,7 @@ The | |||
92 | .Fn rresvport | 91 | .Fn rresvport |
93 | and | 92 | and |
94 | .Fn rresvport_af | 93 | .Fn rresvport_af |
95 | functions | 94 | functions return a descriptor to a socket |
96 | return a descriptor to a socket | ||
97 | with an address in the privileged port space. | 95 | with an address in the privileged port space. |
98 | The | 96 | The |
99 | .Fn iruserok | 97 | .Fn iruserok |
@@ -112,8 +110,7 @@ is an address family independent variant of | |||
112 | .Pp | 110 | .Pp |
113 | The | 111 | The |
114 | .Fn rcmd | 112 | .Fn rcmd |
115 | function | 113 | function looks up the host |
116 | looks up the host | ||
117 | .Fa *ahost | 114 | .Fa *ahost |
118 | using | 115 | using |
119 | .Xr gethostbyname 3 , | 116 | .Xr gethostbyname 3 , |
@@ -245,16 +242,14 @@ and | |||
245 | .Sh DIAGNOSTICS | 242 | .Sh DIAGNOSTICS |
246 | The | 243 | The |
247 | .Fn rcmd | 244 | .Fn rcmd |
248 | function | 245 | function returns a valid socket descriptor on success. |
249 | returns a valid socket descriptor on success. | ||
250 | It returns \-1 on error and prints a diagnostic message on the standard error. | 246 | It returns \-1 on error and prints a diagnostic message on the standard error. |
251 | .Pp | 247 | .Pp |
252 | The | 248 | The |
253 | .Fn rresvport | 249 | .Fn rresvport |
254 | and | 250 | and |
255 | .Fn rresvport_af | 251 | .Fn rresvport_af |
256 | functions | 252 | functions return a valid, bound socket descriptor on success. |
257 | return a valid, bound socket descriptor on success. | ||
258 | It returns \-1 on error with the global value | 253 | It returns \-1 on error with the global value |
259 | .Va errno | 254 | .Va errno |
260 | set according to the reason for failure. | 255 | set according to the reason for failure. |