OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / release / man3 / rexec.3
1 .\" Copyright (c) 1983, 1991, 1993
2 .\"     The Regents of the University of California.  All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\"    must display the following acknowledgement:
14 .\"     This product includes software developed by the University of
15 .\"     California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\"    may be used to endorse or promote products derived from this software
18 .\"    without specific prior written permission.
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" SUCH DAMAGE.
31 .\"
32 .\"     @(#)rexec.3     8.1 (Berkeley) 6/4/93
33 .\" $FreeBSD: src/lib/libcompat/4.3/rexec.3,v 1.12 2004/07/02 23:52:14 ru Exp $
34 .\"
35 .\" Taken from FreeBSD 5.4; not checked against Linux reality (mtk)
36 .\"
37 .\" 2007-12-08, mtk, Converted from mdoc to man macros
38 .\"
39 .\" Japanese Version Copyright (c) 2005 Akihiro MOTOKI all rights reserved.
40 .\" Translated 2005-11-20, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
41 .\"
42 .TH REXEC 3 2007-12-28 "Linux" "Linux Programmer's Manual"
43 .SH Ì¾Á°
44 rexec \- ¥ê¥â¡¼¥È¥³¥Þ¥ó¥É¤Ø¤Î¥¹¥È¥ê¡¼¥à¤òÊÖ¤¹
45 .SH ½ñ¼°
46 .nf
47 .sp
48 .BI "int rexec(char **" ahost ", int " inport ", char *" user ", "
49 .BI "          char *" passwd ", char *" cmd ", int *" fd2p );
50 .\" This function requires _BSD_SOURCE on Linux
51 .fi
52 .SH ÀâÌÀ
53 ¤³¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ï
54 .BR rcmd (3)
55 ¤Ë¤è¤Ã¤ÆÃÖ¤­´¹¤¨¤é¤ì¤¿¡£
56
57 .BR rexec ()
58 ´Ø¿ô¤Ï
59 .BR gethostbyname (3)
60 ¤ò»È¤Ã¤Æ¥Û¥¹¥È
61 .I *ahost
62 ¤òõ¤¹¡£¥Û¥¹¥È¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç¤Ï \-1 ¤òÊÖ¤·¡¢¤½¤ì°Ê³°¤Î¾ì¹ç¤Ë¤Ï
63 .I *ahost
64 ¤Ë¤½¤Î¥Û¥¹¥È¤Îɸ½àŪ¤Ê̾Á°¤òÀßÄꤹ¤ë¡£
65 ¥æ¡¼¥¶Ì¾¤È¥Ñ¥¹¥ï¡¼¥É¤ÎξÊý¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¤Ë¤Ï¡¢¤³¤ì¤é¤Ï
66 ÀܳÀè¤Î¥Û¥¹¥È¤Ø¤Îǧ¾Ú¤ËÍøÍѤµ¤ì¤ë¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢
67 ŬÀڤʾðÊó¤òÆþ¼ê¤¹¤ë¤¿¤á¤Ë¡¢´Ä¶­ÊÑ¿ô¤È¡¢¤½¤Î¥æ¡¼¥¶¤Î
68 ¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤Î
69 .I .netrc
70 ¥Õ¥¡¥¤¥ë¤¬¸¡º÷¤µ¤ì¤ë¡£¾ðÊ󤬸«¤Ä¤«¤é¤Ê¤«¤Ã¤¿»þ¤Ë¤Ï¡¢
71 ¥æ¡¼¥¶¤ËÂФ·¤Æ¾ðÊó¤òÆþÎϤ¹¤ë¥×¥í¥ó¥×¥È¤¬É½¼¨¤µ¤ì¤ë¡£
72 .PP
73 ¥Ý¡¼¥È
74 .I inport
75 ¤Ë¤Ï¡¢Àܳ¤Ë»ÈÍѤ¹¤ë DARPA Internet ¤Î well-known ¥Ý¡¼¥È¤ò»ØÄꤹ¤ë¡£
76 .I "getservbyname(""exec"", ""tcp"")"
77 ¤ò¸Æ¤Ó½Ð¤¹¤È¹½Â¤ÂΤؤΥݥ¤¥ó¥¿¤¬ÊÖ¤µ¤ì
78 .RB ( getservent (3)
79 »²¾È)¡¢¤³¤Î¹½Â¤ÂΤˤÏɬÍפʥݡ¼¥È¤¬Æþ¤Ã¤Æ¤¤¤ë¡£
80 Àܳ¤Ë»ÈÍѤµ¤ì¤ë¥×¥í¥È¥³¥ë¤Ë¤Ä¤¤¤Æ¤Î¾ÜºÙ¤Ï
81 .BR rexecd (8)
82 ¤Ë½ñ¤«¤ì¤Æ¤¤¤ë (ÌõÃí: ¸½ºß¤Î¤È¤³¤í¸ºß¤·¤Ê¤¤)¡£
83 .PP
84 Àܳ¤ËÀ®¸ù¤¹¤ë¤È¡¢¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥É¥á¥¤¥ó¤Î
85 .B SOCK_STREAM
86 ·¿¤Î¥½¥±¥Ã¥È¤¬ÊÖ¤µ¤ì¡¢¤½¤Î¥½¥±¥Ã¥È¤Ï¥ê¥â¡¼¥È¥³¥Þ¥ó¥É¤Î
87 ɸ½àÆþÎϤª¤è¤Óɸ½à½ÐÎϤȤʤ롣
88 .I fd2p
89 ¤¬ 0 °Ê³°¤Î¾ì¹ç¡¢À©¸æ¥×¥í¥»¥¹¤Ø¤ÎÊä½õ¥Á¥ã¥ó¥Í¥ë¤¬¥»¥Ã¥È¥¢¥Ã¥×¤µ¤ì¡¢
90 Êä½õ¥Á¥ã¥ó¥Í¥ë¤Î¥Ç¥£¥¹¥¯¥ê¥×¥¿¤¬
91 .I *fd2p
92 ¤Ë½ñ¤«¤ì¤ë¡£
93 À©¸æ¥×¥í¥»¥¹¤Ï¥³¥Þ¥ó¥É¤«¤é¤Î¿ÇÃÇ¥á¥Ã¥»¡¼¥¸½ÐÎÏ (¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿ 2)
94 ¤ò¤³¤Î¥Á¥ã¥ó¥Í¥ë¤ÇÊÖ¤¹¡£¤Þ¤¿¡¢¤³¤Î¥Á¥ã¥ó¥Í¥ë·Ðͳ¤Ç
95 Unix ¤Î¥·¥°¥Ê¥ëÈÖ¹æ¤ò¼¨¤¹¥Ð¥¤¥È¤ò¼õ¿®¤¹¤ë¡£¼õ¿®¤·¤¿¥·¥°¥Ê¥ë¤Ï
96 ¥³¥Þ¥ó¥É¤¬Â°¤¹¥×¥í¥»¥¹¥°¥ë¡¼¥×¤ËžÁ÷¤µ¤ì¤ë¡£
97 ¿ÇÃǾðÊó¤Ë¤Ï¥ê¥â¡¼¥È¤Îǧ¾Ú¼ºÇԤϴޤޤì¤Ê¤¤¡£¤Ê¤¼¤Ê¤é¡¢Ç§¾Ú¤Î³Îǧ¤¬¹Ô¤ï¤ì¤¿
98 ¸å¤ÇÊä½õ¥Á¥ã¥ó¥Í¥ë¤ÎÀܳ¤Ï¥»¥Ã¥È¥¢¥Ã¥×¤µ¤ì¤ë¤«¤é¤Ç¤¢¤ë¡£
99 .I fd2p
100 ¤¬ 0 ¤Î¾ì¹ç¡¢É¸½à¥¨¥é¡¼ (¥ê¥â¡¼¥È¥³¥Þ¥ó¥É¤Î¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿ 2) ¤Ï
101 ɸ½à½ÐÎϤÈƱÍͤ˰·¤ï¤ì¡¢¥ê¥â¡¼¥È¥×¥í¥»¥¹¤ËǤ°Õ¤Î¥·¥°¥Ê¥ë¤òÁ÷¤ë¤¿¤á¤Î
102 ¼êÃʤÏÄ󶡤µ¤ì¤Ê¤¤¡£Ã¢¤·¡¢¥ê¥â¡¼¥È¥×¥í¥»¥¹¤ËÂФ·¤Æ¥È¥ê¥¬¤ò¤«¤±¤ë¤¿¤á¤Ë¡¢
103 ÂÓ°è³°¥Ç¡¼¥¿ (out-of-band data) ¤ò»È¤¦¤³¤È¤Ï¤Ç¤­¤ë¡£
104 .SH ½àµò
105 POSIX.1-2001 ¤Ë¤Ï¤Ê¤¤¡£
106 BSD ·Ï¡¢Solaris ¤ä¾¤Î¿¤¯¤Î¥·¥¹¥Æ¥à¤Ë¸ºß¤¹¤ë¡£
107 .BR rexec ()
108 ´Ø¿ô¤Ï 4.2BSD ¤Ç»Ï¤á¤ÆÅо줷¤¿¡£
109 .SH ¥Ð¥°
110 .BR rexec ()
111 ´Ø¿ô¤Ï¥Í¥Ã¥È¥ï¡¼¥¯¤Ë°Å¹æ²½¤µ¤ì¤Æ¤¤¤Ê¤¤¥Ñ¥¹¥ï¡¼¥É¤òÁ÷¿®¤¹¤ë¡£
112 .PP
113 ´ðÁÃŪ¤Ê¥µ¡¼¥Ó¥¹¤Ë¤ª¤¤¤Æ¤ÏÂ礭¤Ê¥»¥­¥å¥ê¥Æ¥£¥Û¡¼¥ë¤È¹Í¤¨¤é¤ì¤ë¤¿¤á¡¢
114 ¿¤¯¤Î¥µ¥¤¥È¤Ç̵¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£¾ÜºÙ¤Ï
115 .BR rexecd (8)
116 ¤ò»²¾È¡£
117 .SH ´ØÏ¢¹àÌÜ
118 .BR rcmd (3),
119 .BR rexecd (8)