OSDN Git Service

(split) LDP v3.30, v3.31 の定型的な変更内容を反映。
[linuxjm/LDP_man-pages.git] / draft / man3 / rcmd.3
1 .\"     $NetBSD: rcmd.3,v 1.9 1996/05/28 02:07:39 mrg Exp $
2 .\"
3 .\" Copyright (c) 1983, 1991, 1993
4 .\"     The Regents of the University of California.  All rights reserved.
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
8 .\" are met:
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\"    notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\"    notice, this list of conditions and the following disclaimer in the
13 .\"    documentation and/or other materials provided with the distribution.
14 .\" 3. All advertising materials mentioning features or use of this software
15 .\"    must display the following acknowledgement:
16 .\"     This product includes software developed by the University of
17 .\"     California, Berkeley and its contributors.
18 .\" 4. Neither the name of the University nor the names of its contributors
19 .\"    may be used to endorse or promote products derived from this software
20 .\"    without specific prior written permission.
21 .\"
22 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .\" SUCH DAMAGE.
33 .\"
34 .\"     @(#)rcmd.3      8.1 (Berkeley) 6/4/93
35 .\"
36 .\" Contributed as Linux man page by David A. Holland, 970908
37 .\" I have not checked whether the Linux situation is exactly the same.
38 .\"
39 .\" 2007-12-08, mtk, Converted from mdoc to man macros
40 .\"
41 .\"
42 .\" Japanese Version Copyright (c) 1999 NAKANO Takeo all rights reserved.
43 .\" Translated Mon Mar 1 1999 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
44 .\"
45 .\"WORD:        standard name           (¥Û¥¹¥È¤Î) É¸½à̾
46 .\"WORD:        regular file            Ä̾ï¥Õ¥¡¥¤¥ë
47 .\"
48 .TH RCMD 3 2007-12-28 "Linux" "Linux Programmer's Manual"
49 .\"O .SH NAME
50 .\"O rcmd, rresvport, iruserok, ruserok \- routines for returning a
51 .\"O stream to a remote command
52 .SH Ì¾Á°
53 rcmd, rresvport, iruserok, ruserok \- ¥ê¥â¡¼¥È¥³¥Þ¥ó¥É¤Ë¥¹¥È¥ê¡¼¥à¤òÊÖ¤¹´Ø¿ô·²
54 .\"O .SH SYNOPSIS
55 .SH ½ñ¼°
56 .nf
57 .B #include <netdb.h> \ \ \fP/* Or <unistd.h> on some systems */
58 .sp
59 .BI "int rcmd(char **" ahost ", int " inport ", const char *" locuser ", "
60 .BI "         const char *" remuser ", const char *" cmd ", int *" fd2p );
61 .sp
62 .BI "int rresvport(int *" port );
63 .sp
64 .BI "int iruserok(uint32_t " raddr ", int " superuser ", "
65 .BI "             const char *" ruser ", const char *" luser );
66 .sp
67 .BI "int ruserok(const char *" rhost ", int " superuser ", "
68 .BI "            const char *" ruser ", const char *" luser );
69 .fi
70 .sp
71 .in -4n
72 .\"O Feature Test Macro Requirements for glibc (see
73 .\"O .BR feature_test_macros (7)):
74 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
75 .RB ( feature_test_macros (7)
76 »²¾È):
77 .in
78 .sp
79 .BR rcmd (),
80 .BR rresvport (),
81 .BR ruserok ():
82 _BSD_SOURCE
83 .\"O .SH DESCRIPTION
84 .SH ÀâÌÀ
85 .\"O The
86 .\"O .BR rcmd ()
87 .\"O function is used by the superuser to execute a command on
88 .\"O a remote machine using an authentication scheme based
89 .\"O on privileged port numbers.
90 .BR rcmd ()
91 ´Ø¿ô¤Ï¡¢¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¡¼¤¬¥ê¥â¡¼¥È¥Þ¥·¥ó¤Ç¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤¿¤á¤Ë
92 ÍѤ¤¤é¤ì¤ë¡£¤³¤Î¤È¤­Æø¢¥Ý¡¼¥ÈÈÖ¹æ¤ò¤â¤È¤Ë¤·¤¿Ç§¾Ú¥¹¥­¡¼¥à¤¬
93 ÍѤ¤¤é¤ì¤ë¡£
94 .\"O The
95 .\"O .BR rresvport ()
96 .\"O function
97 .\"O returns a descriptor to a socket
98 .\"O with an address in the privileged port space.
99 .BR rresvport ()
100 ´Ø¿ô¤Ï¡¢Æø¢¥Ý¡¼¥È¶õ´Ö¤Î¥¢¥É¥ì¥¹¤ò»ý¤Ä¥½¥±¥Ã¥È¤Î
101 ¥Ç¥£¥¹¥¯¥ê¥×¥¿¡¼¤òÊÖ¤¹¡£
102 .\"O The
103 .\"O .BR iruserok ()
104 .\"O and
105 .\"O .BR ruserok ()
106 .\"O functions are used by servers
107 .\"O to authenticate clients requesting service with
108 .\"O .BR rcmd ().
109 .BR iruserok ()
110 ´Ø¿ô¤È
111 .BR ruserok ()
112 ´Ø¿ô¤Ï¡¢
113 .BR rcmd ()
114 ¤Ç¥µ¡¼¥Ó¥¹Í×µá¤ò¹Ô¤Ã¤¿¥¯¥é¥¤¥¢¥ó¥È¤Îǧ¾Ú¤ò¹Ô¤¦¤¿¤á¤Ë
115 ¥µ¡¼¥Ð¡¼¤¬ÍѤ¤¤ë´Ø¿ô¤Ç¤¢¤ë¡£
116 .\"O All four functions are present in the same file and are used
117 .\"O by the
118 .\"O .BR rshd (8)
119 .\"O server (among others).
120 °Ê¾å¤Î 4 ¤Ä¤Î´Ø¿ô¤Ï¡¢¤¹¤Ù¤ÆƱ¤¸¥Õ¥¡¥¤¥ë¤Ëµ­½Ò¤µ¤ì¤Æ¤ª¤ê¡¢
121 .BR rshd (8)
122 ¥µ¡¼¥Ð¡¼¤Ë¤è¤Ã¤Æ (¾¤Î´Ø¿ô¤È¤È¤â¤Ë) ÍøÍѤµ¤ì¤ë¡£
123 .PP
124 .\"O The
125 .\"O .BR rcmd ()
126 .\"O function
127 .\"O looks up the host
128 .\"O .I *ahost
129 .\"O using
130 .\"O .BR gethostbyname (3),
131 .\"O returning \-1 if the host does not exist.
132 .\"O Otherwise
133 .\"O .I *ahost
134 .\"O is set to the standard name of the host
135 .\"O and a connection is established to a server
136 .\"O residing at the well-known Internet port
137 .\"O .IR inport .
138 .BR rcmd ()
139 ´Ø¿ô¤Ï
140 .BR gethostbyname (3)
141 ¤òÍѤ¤¤Æ
142 .I *ahost
143 ¤Î»²¾È¤ò¹Ô¤¦¡£¥Û¥¹¥È¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç¤Ï \-1 ¤òÊÖ¤¹¡£
144 ¸«¤Ä¤«¤Ã¤¿¾ì¹ç¤Ï
145 .I *ahost
146 ¤Ë¥Û¥¹¥È¤Îɸ½à̾ (standard name) ¤ò¥»¥Ã¥È¤·¤Æ¡¢
147 ͽÌ󤵤ì¤Æ¤¤¤ë¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥Ý¡¼¥È
148 .I inport
149 ·Ðͳ¤Ç¥µ¡¼¥Ð¡¼¤Ø¤ÎÀܳ¤ò³ÎΩ¤¹¤ë¡£
150 .PP
151 .\"O If the connection succeeds,
152 .\"O a socket in the Internet domain of type
153 .\"O .BR SOCK_STREAM
154 .\"O is returned to the caller, and given to the remote
155 .\"O command as
156 .\"O .IR stdin
157 .\"O and
158 .\"O .IR stdout .
159 Àܳ¤ËÀ®¸ù¤·¤¿¤é¡¢¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥É¥á¥¤¥ó¤Ë¸ºß¤¹¤ë¥¿¥¤¥×
160 .B SOCK_STREAM
161 ¤Î¥½¥±¥Ã¥È¤¬¸Æ¤Ó½Ð¤·¤â¤È¤ËÊÖ¤µ¤ì¤ë¡£
162 ¤³¤Î¥½¥±¥Ã¥È¤ÎÁê¼ê¦¤Ï¥ê¥â¡¼¥È¥³¥Þ¥ó¥É¤Î
163 .I stdin
164 ¤ª¤è¤Ó
165 .I stdout
166 ¤ËÀܳ¤µ¤ì¤ë¡£
167 .\"O If
168 .\"O .I fd2p
169 .\"O is nonzero, then an auxiliary channel to a control
170 .\"O process will be set up, and a descriptor for it will be placed
171 .\"O in
172 .\"O .IR *fd2p .
173 .I fd2p
174 ¤¬¥¼¥í¤Ç¤Ê¤¤¾ì¹ç¤Ï¡¢À©¸æ¥×¥í¥»¥¹¤Ø¤ÎÀܳ¤¬¤â¤¦°ì¤ÄÍÑ°Õ¤µ¤ì¡¢
175 ¤½¤Î¥Ç¥£¥¹¥¯¥ê¥×¥¿¡¼¤¬
176 .I *fd2p
177 ¤Ë¥»¥Ã¥È¤µ¤ì¤ë¡£
178 .\"O The control process will return diagnostic
179 .\"O output from the command (unit 2) on this channel, and will also
180 .\"O accept bytes on this channel as being UNIX signal numbers, to be
181 .\"O forwarded to the process group of the command.
182 À©¸æ¥×¥í¥»¥¹¤Ï¥ê¥â¡¼¥È¥³¥Þ¥ó¥É¤«¤é¤Îɸ½à¥¨¥é¡¼½ÐÎÏ (unit 2) ¤ò
183 ¤³¤Î¥Á¥ã¥ó¥Í¥ë¤ËÊÖ¤¹¡£
184 ¤Þ¤¿À©¸æ¥×¥í¥»¥¹¤Ï¤³¤ÎÀܳ¤«¤é¼õ¤±¼è¤Ã¤¿¥Ð¥¤¥È¥Ç¡¼¥¿¤ò
185 UNIX ¥·¥°¥Ê¥ë¤ÎÈÖ¹æ¤È¤·¤Æ°·¤¤¡¢¥ê¥â¡¼¥È¥³¥Þ¥ó¥É¤Î¥×¥í¥»¥¹
186 ¥°¥ë¡¼¥×¤Ø¤È¥·¥°¥Ê¥ë¤òÁ÷¤ë¡£
187 .\"O If
188 .\"O .I fd2p
189 .\"O is 0, then the
190 .\"O .IR stderr
191 .\"O (unit 2 of the remote
192 .\"O command) will be made the same as the
193 .\"O .IR stdout
194 .\"O and no
195 .\"O provision is made for sending arbitrary signals to the remote process,
196 .\"O although you may be able to get its attention by using out-of-band data.
197 .I fd2p
198 ¤¬¥¼¥í¤Î¾ì¹ç¤Ï¡¢
199 .I stderr
200 (¥ê¥â¡¼¥È¥³¥Þ¥ó¥É¤Î unit 2) ¤Ï
201 .I stdout
202 ¤È°ì½ï¤Ë¤Þ¤È¤á¤é¤ì¤ë¡£¤Þ¤¿¤³¤Î¾ì¹ç¤Ï¥ê¥â¡¼¥È¥×¥í¥»¥¹¤Ø
203 Ǥ°Õ¤Î¥·¥°¥Ê¥ë¤òÁ÷¤ë¤³¤È¤Ï¤Ç¤­¤Ê¤¯¤Ê¤ë¡£
204 ¤¿¤À¤·ÂÓ°è³° (out-of-band) ¥Ç¡¼¥¿¤òÍѤ¤¤ì¤Ð¡¢
205 ¥ê¥â¡¼¥È¥×¥í¥»¥¹¤ÎÃí°Õ¤ò°ú¤¯¤³¤È¤Ï¤Ç¤­¤ë¤«¤â¤·¤ì¤Ê¤¤¡£
206 .PP
207 .\"O The protocol is described in detail in
208 .\"O .BR rshd (8).
209 ¥×¥í¥È¥³¥ë¤Î¾ÜºÙ¤Ï
210 .BR rshd (8)
211 ¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤ë¡£
212 .PP
213 .\"O The
214 .\"O .BR rresvport ()
215 .\"O function is used to obtain a socket with a privileged
216 .\"O address bound to it.
217 .\"O This socket is suitable for use by
218 .\"O .BR rcmd ()
219 .\"O and several other functions.
220 .\"O Privileged Internet ports are those in the range 0 to 1023.
221 .\"O Only the superuser is allowed to bind an address of this sort to a socket.
222 .BR rresvport ()
223 ´Ø¿ô¤ÏÆø¢¥¢¥É¥ì¥¹¤Ë¥Ð¥¤¥ó¥É¤µ¤ì¤¿¥½¥±¥Ã¥È¤ò¼èÆÀ¤¹¤ë¤¿¤á¤ËÍѤ¤¤é¤ì¤ë¡£
224 ¤³¤Î¥½¥±¥Ã¥È¤Ï
225 .BR rcmd ()
226 ¤Ê¤É¤Î´Ø¿ô¤Ç¤ÎÍøÍѤËŬ¤·¤Æ¤¤¤ë¡£¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥Ý¡¼¥È¤ÎÆø¢¥Ý¡¼¥È¤Ï¡¢
227 0 ¤«¤é 1023 ¤ÎÈϰϤǤ¢¤ë¡£¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¡¼¤À¤±¤¬¤³¤ì¤é¤Î¥¢¥É¥ì¥¹¤ò
228 ¥½¥±¥Ã¥È¤Ë¥Ð¥¤¥ó¥É¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
229 .PP
230 .\"O The
231 .\"O .BR iruserok ()
232 .\"O and
233 .\"O .BR ruserok ()
234 .\"O functions take a remote host's IP address or name, respectively,
235 .\"O two usernames and a flag indicating whether the local user's
236 .\"O name is that of the superuser.
237 .BR iruserok ()
238 ¤È
239 .BR ruserok ()
240 ´Ø¿ô¤Ï¡¢¤Þ¤º°Ê²¼¤Î°ú¿ô¤ò¼è¤ë: ¥ê¥â¡¼¥È¥Û¥¹¥È
241 .RB ( iruserok ()
242 ¤Ï IP ¥¢¥É¥ì¥¹¤Ç¡¢
243 .BR ruserok ()
244 ¤Ï¥Û¥¹¥È̾¤Ç»ØÄê)¡¢ 2 ¤Ä¤Î¥æ¡¼¥¶¡¼Ì¾¡¢¥í¡¼¥«¥ë¥æ¡¼¥¶¡¼¤Î̾Á°¤¬
245 ¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¡¼¤Î¤â¤Î¤Ç¤¢¤ë¤«¤É¤¦¤«¤ò¼¨¤¹¥Õ¥é¥°¡¢¤Ç¤¢¤ë¡£
246 .\"O Then, if the user is
247 .\"O .I not
248 .\"O the superuser, it checks the
249 .\"O .IR /etc/hosts.equiv
250 .\"O file.
251 .\"O If that lookup is not done, or is unsuccessful, the
252 .\"O .IR .rhosts
253 .\"O in the local user's home directory is checked to see if the request for
254 .\"O service is allowed.
255 ¤â¤·¥æ¡¼¥¶¡¼¤¬\fB¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¡¼¤Ç¤Ï¤Ê¤¤\fP¾ì¹ç¤Ï¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï
256 .I /etc/hosts.equiv
257 ¥Õ¥¡¥¤¥ë¤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£¥Õ¥¡¥¤¥ë¤¬¸«¤Ä¤«¤é¤Ê¤«¤Ã¤¿¤ê¡¢
258 ÆâÍƤΥÁ¥§¥Ã¥¯¤Ë¼ºÇÔ¤·¤¿¾ì¹ç¤Ë¤Ï¡¢
259 ¥í¡¼¥«¥ë¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë
260 .I .rhosts
261 ¥Õ¥¡¥¤¥ë¤ò¥Á¥§¥Ã¥¯¤·¤Æ¡¢¥µ¡¼¥Ó¥¹Í׵᤬µö²Ä¤µ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«Ä´¤Ù¤ë¡£
262 .PP
263 .\"O If this file does not exist, is not a regular file, is owned by anyone
264 .\"O other than the user or the superuser, or is writable by anyone other
265 .\"O than the owner, the check automatically fails.
266 .\"O Zero is returned if the machine name is listed in the
267 .\"O .IR hosts.equiv
268 .\"O file, or the host and remote username are found in the
269 .\"O .IR .rhosts
270 .\"O file; otherwise
271 .\"O .BR iruserok ()
272 .\"O and
273 .\"O .BR ruserok ()
274 .\"O return \-1.
275 .\"O If the local domain (as obtained from
276 .\"O .BR gethostname (2))
277 .\"O is the same as the remote domain, only the machine name need be specified.
278 ¤³¤Î¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¤Ê¤«¤Ã¤¿¤ê¡¢
279 Ä̾ï¥Õ¥¡¥¤¥ë (regular file) ¤Ç¤Ï¤Ê¤«¤Ã¤¿¤ê¡¢
280 »ØÄê¥æ¡¼¥¶¡¼¤Þ¤¿¤Ï¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¡¼°Ê³°¤Î½êÍ­¤À¤Ã¤¿¤ê¡¢
281 ½êÍ­¼Ô°Ê³°¤«¤é½ñ¤­¹þ¤ß²Äǽ¤À¤Ã¤¿¤ê¤·¤¿¾ì¹ç¤Ë¤Ï¡¢
282 ¤³¤Î¥Á¥§¥Ã¥¯¤Ï¼«Æ°Åª¤Ë¼ºÇÔ¤¹¤ë¡£
283 ¥Þ¥·¥ó¤Î̾Á°¤¬
284 .I hosts.equiv
285 ¤Ë¥ê¥¹¥È¤µ¤ì¤Æ¤¤¤¿¤ê¡¢
286 ¥Û¥¹¥È¤È¥ê¥â¡¼¥È¥æ¡¼¥¶¡¼¤Î̾Á°¤¬
287 .I .rhosts
288 ¥Õ¥¡¥¤¥ë¤Ë½ñ¤«¤ì¤Æ¤¤¤¿¾ì¹ç¤Ë¤Ï 0 ¤¬ÊÖ¤µ¤ì¤ë¡£
289 ¤½¤ì°Ê³°¤Î¾ì¹ç¤Ë¤Ï¡¢
290 .BR iruserok ()
291 ¤È
292 .BR ruserok ()
293 ¤Ï \-1 ¤òÊÖ¤¹¡£
294 .RB ( gethostname (2)
295 ¤Ë¤è¤Ã¤Æ¼èÆÀ¤µ¤ì¤ë) ¥í¡¼¥«¥ë¥É¥á¥¤¥ó¤¬¥ê¥â¡¼¥È¤Î¥É¥á¥¤¥ó¤ÈƱ¤¸¾ì¹ç¤Ï¡¢
296 ¥Þ¥·¥ó¤Î̾Á°¤À¤±¤ò»ØÄꤹ¤ì¤Ð¤è¤¤¡£
297 .PP
298 .\"O If the IP address of the remote host is known,
299 .\"O .BR iruserok ()
300 .\"O should be used in preference to
301 .\"O .BR ruserok (),
302 .\"O as it does not require trusting the DNS server for the remote host's domain.
303 ¥ê¥â¡¼¥È¥Û¥¹¥È¤Î IP ¥¢¥É¥ì¥¹¤¬¤ï¤«¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢
304 .BR ruserok ()
305 ¤è¤ê¤â
306 .BR iruserok () ¤òÍѤ¤¤ëÊý¤¬Îɤ¤¤À¤í¤¦¡£
307 .BR ruserok ()
308 ¤Ï¥ê¥â¡¼¥È¥Û¥¹¥È¤Î½ê°¤¹¤ë¥É¥á¥¤¥ó¤Î DNS ¥µ¡¼¥Ð¡¼¤¬¿®Íê¤Ç¤­¤Ê¤¯¤Æ¤â
309 »ÈÍѤǤ­¤ë¤«¤é¤Ç¤¢¤ë¡£
310 .\"O .SH RETURN VALUE
311 .SH ÊÖ¤êÃÍ
312 .\"O The
313 .\"O .BR rcmd ()
314 .\"O function
315 .\"O returns a valid socket descriptor on success.
316 .\"O It returns \-1 on error and prints a diagnostic message on the standard error.
317 .BR rcmd ()
318 ´Ø¿ô¤ÏÀ®¸ù¤¹¤ë¤ÈÍ­¸ú¤Ê¥½¥±¥Ã¥È¥Ç¥£¥¹¥¯¥ê¥×¥¿¡¼¤òÊÖ¤¹¡£
319 ¼ºÇÔ¤¹¤ë¤È \-1 ¤òÊÖ¤·¡¢É¸½à¥¨¥é¡¼½ÐÎϤ˿ÇÃÇ¥á¥Ã¥»¡¼¥¸¤ò
320 ɽ¼¨¤¹¤ë¡£
321 .PP
322 .\"O The
323 .\"O .BR rresvport ()
324 .\"O function
325 .\"O returns a valid, bound socket descriptor on success.
326 .\"O It returns \-1 on error with the global value
327 .\"O .I errno
328 .\"O set according to the reason for failure.
329 .\"O The error code
330 .\"O .BR EAGAIN
331 .\"O is overloaded to mean "All network ports in use."
332 .BR rresvport ()
333 ´Ø¿ô¤Ï¡¢À®¸ù¤¹¤ë¤È¥Ð¥¤¥ó¥É¤µ¤ì¤¿Í­¸ú¤Ê¥½¥±¥Ã¥È¥Ç¥£¥¹¥¯¥ê¥×¥¿¡¼¤òÊÖ¤¹¡£
334 ¼ºÇÔ¤¹¤ë¤È \-1 ¤òÊÖ¤·¡¢¥°¥í¡¼¥Ð¥ëÊÑ¿ô
335 .I errno
336 ¤ò¥¨¥é¡¼¤Î¸¶°ø¤ËÂбþ¤¹¤ëÃͤ˥»¥Ã¥È¤¹¤ë¡£
337 ¥¨¥é¡¼¥³¡¼¥É
338 .B EAGAIN
339 ¤Ï¡¢¤³¤Î´Ø¿ô¤Ë¤ª¤¤¤Æ¤Ï¡Ö¤¹¤Ù¤Æ¤Î¥Í¥Ã¥È¥ï¡¼¥¯¥Ý¡¼¥È¤¬»ÈÍÑÃæ¡×
340 ¤È¤¤¤¦°ÕÌ£¤òɽ¤¹¡£
341 .\"O .SH "CONFORMING TO"
342 .SH ½àµò
343 .\"O Not in POSIX.1-2001.
344 .\"O Present on the BSDs, Solaris, and many other systems.
345 .\"O These
346 .\"O functions appeared in
347 .\"O 4.2BSD.
348 POSIX.1-2001 ¤Ë¤Ï¤Ê¤¤¡£
349 BSD ·Ï¡¢Solaris ¤ä¾¤Î¿¤¯¤Î¥·¥¹¥Æ¥à¤Ë¸ºß¤¹¤ë¡£
350 ¤³¤ì¤é¤Î´Ø¿ô¤Ï 4.2BSD ¤ÇÅо줷¤¿¡£
351 .\"O .SH BUGS
352 .SH ¥Ð¥°
353 .\"O .BR iruserok ()
354 .\"O is not declared in glibc headers.
355 .BR iruserok ()
356 ¤Ï glibc ¤Î¥Ø¥Ã¥À¤Ç¤ÏÀë¸À¤µ¤ì¤Æ¤¤¤Ê¤¤¡£
357 .\" Bug filed 25 Nov 2007:
358 .\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=5399
359 .\"O .SH SEE ALSO
360 .SH ´ØÏ¢¹àÌÜ
361 .BR rlogin (1),
362 .BR rsh (1),
363 .BR intro (2),
364 .BR rexec (3),
365 .BR rexecd (8),
366 .BR rlogind (8),
367 .BR rshd (8)