OSDN Git Service

(split) LDP: Update POT and ja.po to LDP v3.41.
[linuxjm/LDP_man-pages.git] / po4a / rpc / po / ja.po
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "POT-Creation-Date: 2012-05-28 07:17+0900\n"
10 "PO-Revision-Date: 2012-05-06 05:13+0900\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <LL@li.org>\n"
13 "Language: \n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #. type: TH
19 #: build/C/man3/getrpcent.3:4
20 #, no-wrap
21 msgid "GETRPCENT"
22 msgstr "GETRPCENT"
23
24 #. type: TH
25 #: build/C/man3/getrpcent.3:4
26 #, no-wrap
27 msgid "2008-08-19"
28 msgstr "2008-08-19"
29
30 #. type: TH
31 #: build/C/man3/getrpcent.3:4 build/C/man3/getrpcent_r.3:24
32 #: build/C/man3/getrpcport.3:4 build/C/man3/key_setsecret.3:5
33 #: build/C/man3/rpc.3:7 build/C/man5/rpc.5:4 build/C/man3/rtime.3:8
34 #: build/C/man3/xdr.3:7
35 #, no-wrap
36 msgid "Linux Programmer's Manual"
37 msgstr "Linux Programmer's Manual"
38
39 #. type: SH
40 #: build/C/man3/getrpcent.3:5 build/C/man3/getrpcent_r.3:25
41 #: build/C/man3/getrpcport.3:5 build/C/man3/key_setsecret.3:6
42 #: build/C/man3/rpc.3:8 build/C/man5/rpc.5:5 build/C/man3/rtime.3:9
43 #: build/C/man3/xdr.3:8
44 #, no-wrap
45 msgid "NAME"
46 msgstr "名前"
47
48 #. type: Plain text
49 #: build/C/man3/getrpcent.3:8
50 msgid ""
51 "getrpcent, getrpcbyname, getrpcbynumber, setrpcent, endrpcent - get RPC entry"
52 msgstr ""
53 "getrpcent, getrpcbyname, getrpcbynumber, setrpcent, endrpcent - RPC エントリ"
54 "を取得する"
55
56 #. type: SH
57 #: build/C/man3/getrpcent.3:8 build/C/man3/getrpcent_r.3:28
58 #: build/C/man3/getrpcport.3:7 build/C/man3/key_setsecret.3:9
59 #: build/C/man5/rpc.5:7 build/C/man3/rtime.3:11
60 #, no-wrap
61 msgid "SYNOPSIS"
62 msgstr "書式"
63
64 #. type: Plain text
65 #: build/C/man3/getrpcent.3:11 build/C/man3/getrpcent_r.3:31
66 #, no-wrap
67 msgid "B<#include E<lt>netdb.hE<gt>>\n"
68 msgstr "B<#include E<lt>netdb.hE<gt>>\n"
69
70 #. type: Plain text
71 #: build/C/man3/getrpcent.3:13
72 #, no-wrap
73 msgid "B<struct rpcent *getrpcent(void);>\n"
74 msgstr "B<struct rpcent *getrpcent(void);>\n"
75
76 #. type: Plain text
77 #: build/C/man3/getrpcent.3:15
78 #, no-wrap
79 msgid "B<struct rpcent *getrpcbyname(char *>I<name>B<);>\n"
80 msgstr "B<struct rpcent *getrpcbyname(char *>I<name>B<);>\n"
81
82 #. type: Plain text
83 #: build/C/man3/getrpcent.3:17
84 #, no-wrap
85 msgid "B<struct rpcent *getrpcbynumber(int >I<number>B<);>\n"
86 msgstr "B<struct rpcent *getrpcbynumber(int >I<number>B<);>\n"
87
88 #. type: Plain text
89 #: build/C/man3/getrpcent.3:19
90 #, no-wrap
91 msgid "B<void setrpcent(int >I<stayopen>B<);>\n"
92 msgstr "B<void setrpcent(int >I<stayopen>B<);>\n"
93
94 #. type: Plain text
95 #: build/C/man3/getrpcent.3:21
96 #, no-wrap
97 msgid "B<void endrpcent(void);>\n"
98 msgstr "B<void endrpcent(void);>\n"
99
100 #. type: SH
101 #: build/C/man3/getrpcent.3:22 build/C/man3/getrpcent_r.3:57
102 #: build/C/man3/getrpcport.3:12 build/C/man3/key_setsecret.3:23
103 #: build/C/man5/rpc.5:9 build/C/man3/rtime.3:18
104 #, no-wrap
105 msgid "DESCRIPTION"
106 msgstr "説明"
107
108 #. type: Plain text
109 #: build/C/man3/getrpcent.3:31
110 msgid ""
111 "B<getrpcent>(), B<getrpcbyname>(), and B<getrpcbynumber>()  each return a "
112 "pointer to an object with the following structure containing the broken-out "
113 "fields of an entry in the RPC program number data base."
114 msgstr ""
115 "B<getrpcent>(), B<getrpcbyname>(), B<getrpcbynumber>()  はそれぞれ以下の構造"
116 "体へのポインタを返す。 この構造体は RPC プログラム番号データベース の各行の"
117 "フィールドを含んでいる。"
118
119 #. type: Plain text
120 #: build/C/man3/getrpcent.3:39
121 #, no-wrap
122 msgid ""
123 "struct rpcent {\n"
124 "    char  *r_name;     /* name of server for this RPC program */\n"
125 "    char **r_aliases;  /* alias list */\n"
126 "    long   r_number;   /* RPC program number */\n"
127 "};\n"
128 msgstr ""
129 "struct rpcent {\n"
130 "    char  *r_name;     /* name of server for this RPC program */\n"
131 "    char **r_aliases;  /* alias list */\n"
132 "    long   r_number;   /* RPC program number */\n"
133 "};\n"
134
135 #. type: Plain text
136 #: build/C/man3/getrpcent.3:43
137 msgid "The members of this structure are:"
138 msgstr "この構造体のメンバーは以下の通り。"
139
140 #. type: TP
141 #: build/C/man3/getrpcent.3:44
142 #, no-wrap
143 msgid "I<r_name>"
144 msgstr "I<r_name>"
145
146 #. type: Plain text
147 #: build/C/man3/getrpcent.3:47
148 msgid "The name of the server for this RPC program."
149 msgstr "この RPC プログラムのサーバの名前"
150
151 #. type: TP
152 #: build/C/man3/getrpcent.3:47
153 #, no-wrap
154 msgid "I<r_aliases>"
155 msgstr "I<r_aliases>"
156
157 #. type: Plain text
158 #: build/C/man3/getrpcent.3:50
159 msgid "A NULL-terminated list of alternate names for the RPC program."
160 msgstr "RPC プログラムの別名のリスト。ゼロで終端されている。"
161
162 #. type: TP
163 #: build/C/man3/getrpcent.3:50
164 #, no-wrap
165 msgid "I<r_number>"
166 msgstr "I<r_number>"
167
168 #. type: Plain text
169 #: build/C/man3/getrpcent.3:53
170 msgid "The RPC program number for this service."
171 msgstr "このサービスの RPC プログラム番号。"
172
173 #. type: Plain text
174 #: build/C/man3/getrpcent.3:58
175 msgid ""
176 "B<getrpcent>()  reads the next entry from the database.  A connection is "
177 "opened to the database if necessary."
178 msgstr ""
179 "B<getrpcent>()  はファイルの次のエントリを読み込む。 必要ならばデータベースへ"
180 "の接続がオープンされる。"
181
182 #. type: Plain text
183 #: build/C/man3/getrpcent.3:67
184 msgid ""
185 "B<setrpcent>()  function opens a connection to the database, and sets the "
186 "next entry to the first entry.  If I<stayopen> is nonzero, then the "
187 "connection to the database will not be closed between calls to one of the "
188 "B<getrpc*>()  functions."
189 msgstr ""
190 "B<setrpcent>()  はデータベースへの接続をオープンし、 次の読み込みエントリを先"
191 "頭のエントリに設定する。 I<stayopen> が 0 でない場合、 一つ一つの B<getrpc*>"
192 "()  関数の呼び出し間でデータベースへの接続をクローズしない。"
193
194 #. type: Plain text
195 #: build/C/man3/getrpcent.3:71
196 msgid "The B<endrpcent>()  function closes the connection to the database."
197 msgstr "B<endrpcent>()  はデータベースへの接続をクローズする。"
198
199 #. type: Plain text
200 #: build/C/man3/getrpcent.3:78
201 msgid ""
202 "B<getrpcbyname>()  and B<getrpcbynumber>()  sequentially search from the "
203 "beginning of the file until a matching RPC program name or program number is "
204 "found, or until end-of-file is encountered."
205 msgstr ""
206 "B<getrpcbyname>()  と B<getrpcbynumber>()  はファイルの最初から一致する RPC "
207 "プログラム名かプログラム番号が 見つかるか、ファイルの最後 (end-of-file) に到"
208 "達するまで、順番に 探していく。"
209
210 #. type: SH
211 #: build/C/man3/getrpcent.3:78 build/C/man3/getrpcent_r.3:105
212 #: build/C/man3/key_setsecret.3:55 build/C/man3/rtime.3:32
213 #, no-wrap
214 msgid "RETURN VALUE"
215 msgstr "返り値"
216
217 #. type: Plain text
218 #: build/C/man3/getrpcent.3:88
219 msgid ""
220 "On success, B<getrpcent>(), B<getrpcbyname>(), and B<getrpcbynumber>()  "
221 "return a pointer to a statically allocated I<rpcent> structure.  A NULL "
222 "pointer is returned on EOF or error."
223 msgstr ""
224 "成功すると、 B<getrpcent>(), B<getrpcbyname>(), B<getrpcbynumber>()  は、静的"
225 "に割り当てられた I<rpcent> 構造体へのポインタを返す。 EOF か エラーに遭遇した"
226 "場合には NULL ポインタを返す。"
227
228 #. type: SH
229 #: build/C/man3/getrpcent.3:88 build/C/man5/rpc.5:71
230 #, no-wrap
231 msgid "FILES"
232 msgstr "ファイル"
233
234 #. type: TP
235 #: build/C/man3/getrpcent.3:89 build/C/man5/rpc.5:72
236 #, no-wrap
237 msgid "I</etc/rpc>"
238 msgstr "I</etc/rpc>"
239
240 #. type: Plain text
241 #: build/C/man3/getrpcent.3:92
242 msgid "RPC program number database."
243 msgstr "RPC プログラム番号データベース"
244
245 #. type: SH
246 #: build/C/man3/getrpcent.3:92 build/C/man3/getrpcent_r.3:128
247 #: build/C/man3/getrpcport.3:32
248 #, no-wrap
249 msgid "CONFORMING TO"
250 msgstr "準拠"
251
252 #. type: Plain text
253 #: build/C/man3/getrpcent.3:95 build/C/man3/getrpcport.3:35
254 msgid ""
255 "Not in POSIX.1-2001.  Present on the BSDs, Solaris, and many other systems."
256 msgstr ""
257 "POSIX.1-2001 にはない。 BSD 系、Solaris や他の多くのシステムに存在する。"
258
259 #. type: SH
260 #: build/C/man3/getrpcent.3:95 build/C/man3/rtime.3:71
261 #, no-wrap
262 msgid "BUGS"
263 msgstr "バグ"
264
265 #. type: Plain text
266 #: build/C/man3/getrpcent.3:100
267 msgid ""
268 "All information is contained in a static area so it must be copied if it is "
269 "to be saved."
270 msgstr ""
271 "全ての情報は静的領域に格納される。 保存するためには全てをコピーする必要があ"
272 "る。"
273
274 #. type: SH
275 #: build/C/man3/getrpcent.3:100 build/C/man3/getrpcent_r.3:132
276 #: build/C/man3/key_setsecret.3:64 build/C/man3/rpc.3:1098
277 #: build/C/man5/rpc.5:75 build/C/man3/rtime.3:120 build/C/man3/xdr.3:538
278 #, no-wrap
279 msgid "SEE ALSO"
280 msgstr "関連項目"
281
282 #. type: Plain text
283 #: build/C/man3/getrpcent.3:105
284 msgid "B<getrpcent_r>(3), B<rpc>(5), B<rpcinfo>(8), B<ypserv>(8)"
285 msgstr "B<getrpcent_r>(3), B<rpc>(5), B<rpcinfo>(8), B<ypserv>(8)"
286
287 #. type: SH
288 #: build/C/man3/getrpcent.3:105 build/C/man3/getrpcent_r.3:135
289 #: build/C/man3/getrpcport.3:35 build/C/man3/key_setsecret.3:66
290 #: build/C/man3/rpc.3:1115 build/C/man5/rpc.5:77 build/C/man3/rtime.3:125
291 #: build/C/man3/xdr.3:551
292 #, no-wrap
293 msgid "COLOPHON"
294 msgstr "この文書について"
295
296 #. type: Plain text
297 #: build/C/man3/getrpcent.3:112 build/C/man3/getrpcent_r.3:142
298 #: build/C/man3/getrpcport.3:42 build/C/man3/key_setsecret.3:73
299 #: build/C/man3/rpc.3:1122 build/C/man5/rpc.5:84 build/C/man3/rtime.3:132
300 #: build/C/man3/xdr.3:558
301 #, fuzzy
302 #| msgid ""
303 #| "This page is part of release 3.40 of the Linux I<man-pages> project.  A "
304 #| "description of the project, and information about reporting bugs, can be "
305 #| "found at http://www.kernel.org/doc/man-pages/."
306 msgid ""
307 "This page is part of release 3.41 of the Linux I<man-pages> project.  A "
308 "description of the project, and information about reporting bugs, can be "
309 "found at http://www.kernel.org/doc/man-pages/."
310 msgstr ""
311 "この man ページは Linux I<man-pages> プロジェクトのリリース 3.40 の一部\n"
312 "である。プロジェクトの説明とバグ報告に関する情報は\n"
313 "http://www.kernel.org/doc/man-pages/ に書かれている。"
314
315 #. type: TH
316 #: build/C/man3/getrpcent_r.3:24
317 #, no-wrap
318 msgid "GETRPCENT_R"
319 msgstr "GETRPCENT_R"
320
321 #. type: TH
322 #: build/C/man3/getrpcent_r.3:24
323 #, no-wrap
324 msgid "2010-09-10"
325 msgstr "2010-09-10"
326
327 #. type: TH
328 #: build/C/man3/getrpcent_r.3:24 build/C/man3/rtime.3:8
329 #, no-wrap
330 msgid "GNU"
331 msgstr "GNU"
332
333 #. type: Plain text
334 #: build/C/man3/getrpcent_r.3:28
335 msgid ""
336 "getrpcent_r, getrpcbyname_r, getrpcbynumber_r - get RPC entry (reentrant)"
337 msgstr ""
338 "getrpcent_r, getrpcbyname_r, getrpcbynumber_r - RPC エントリを\n"
339 "取得する (リエントラント版)"
340
341 #. type: Plain text
342 #: build/C/man3/getrpcent_r.3:34
343 #, no-wrap
344 msgid ""
345 "B<int getrpcent_r(struct rpcent *>I<result_buf>B<, char *>I<buf>B<,>\n"
346 "B<                size_t >I<buflen>B<, struct rpcent **>I<result>B<);>\n"
347 msgstr ""
348 "B<int getrpcent_r(struct rpcent *>I<result_buf>B<, char *>I<buf>B<,>\n"
349 "B<                size_t >I<buflen>B<, struct rpcent **>I<result>B<);>\n"
350
351 #. type: Plain text
352 #: build/C/man3/getrpcent_r.3:38
353 #, no-wrap
354 msgid ""
355 "B<int getrpcbyname_r(const char *>I<name>B<,>\n"
356 "B<                struct rpcent *>I<result_buf>B<, char *>I<buf>B<,>\n"
357 "B<                size_t >I<buflen>B<, struct rpcent **>I<result>B<);>\n"
358 msgstr ""
359 "B<int getrpcbyname_r(const char *>I<name>B<,>\n"
360 "B<                struct rpcent *>I<result_buf>B<, char *>I<buf>B<,>\n"
361 "B<                size_t >I<buflen>B<, struct rpcent **>I<result>B<);>\n"
362
363 #. type: Plain text
364 #: build/C/man3/getrpcent_r.3:42
365 #, no-wrap
366 msgid ""
367 "B<int getrpcbynumber_r(int >I<number>B<,>\n"
368 "B<                struct rpcent *>I<result_buf>B<, char *>I<buf>B<,>\n"
369 "B<                size_t >I<buflen>B<, struct rpcent **>I<result>B<);>\n"
370 msgstr ""
371 "B<int getrpcbynumber_r(int >I<number>B<,>\n"
372 "B<                struct rpcent *>I<result_buf>B<, char *>I<buf>B<,>\n"
373 "B<                size_t >I<buflen>B<, struct rpcent **>I<result>B<);>\n"
374
375 #. type: Plain text
376 #: build/C/man3/getrpcent_r.3:47
377 msgid ""
378 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
379 msgstr "glibc 向けの機能検査マクロの要件 (B<feature_test_macros>(7) 参照):"
380
381 #. type: Plain text
382 #: build/C/man3/getrpcent_r.3:53
383 msgid "B<getrpcent_r>(), B<getrpcbyname_r>(), B<getrpcbynumber_r>():"
384 msgstr "B<getrpcent_r>(), B<getrpcbyname_r>(), B<getrpcbynumber_r>():"
385
386 #. type: Plain text
387 #: build/C/man3/getrpcent_r.3:55
388 msgid "_BSD_SOURCE || _SVID_SOURCE"
389 msgstr "_BSD_SOURCE || _SVID_SOURCE"
390
391 #. type: Plain text
392 #: build/C/man3/getrpcent_r.3:74
393 msgid ""
394 "The B<getrpcent_r>(), B<getrpcbyname_r>(), and B<getrpcbynumber_r>()  "
395 "functions are the reentrant equivalents of, respectively, B<getrpcent>(3), "
396 "B<getrpcbyname>(3), and B<getrpcbynumber>(3).  They differ in the way that "
397 "the I<rpcent> structure is returned, and in the function calling signature "
398 "and return value.  This manual page describes just the differences from the "
399 "nonreentrant functions."
400 msgstr ""
401 "関数 B<getrpcent_r>(), B<getrpcbyname_r>(), B<getrpcbynumber_r>() は、\n"
402 "それぞれ B<getrpcent>(3), B<getrpcbyname>(3), B<getrpcbynumber>(3) の\n"
403 "リエントラント版である。\n"
404 "I<rpcent> 構造体の返し方と、関数呼び出し時の引き数と返り値が異なる。\n"
405 "このマニュアルページでは、リエントラントでない関数との違いだけを\n"
406 "説明する。"
407
408 #. type: Plain text
409 #: build/C/man3/getrpcent_r.3:80
410 msgid ""
411 "Instead of returning a pointer to a statically allocated I<rpcent> structure "
412 "as the function result, these functions copy the structure into the location "
413 "pointed to by I<result_buf>."
414 msgstr ""
415 "これらの関数は、関数の結果として静的に割り当てられた I<rpcent> 構造体\n"
416 "へのポインタを返すのではなく、 I<rpcent> 構造体を I<result_buf> が\n"
417 "指す場所にコピーする。"
418
419 #.  I can find no information on the required/recommended buffer size;
420 #.  the nonreentrant functions use a 1024 byte buffer -- mtk.
421 #. type: Plain text
422 #: build/C/man3/getrpcent_r.3:97
423 msgid ""
424 "The I<buf> array is used to store the string fields pointed to by the "
425 "returned I<rpcent> structure.  (The nonreentrant functions allocate these "
426 "strings in static storage.)  The size of this array is specified in "
427 "I<buflen>.  If I<buf> is too small, the call fails with the error B<ERANGE>, "
428 "and the caller must try again with a larger buffer.  (A buffer of length "
429 "1024 bytes should be sufficient for most applications.)"
430 msgstr ""
431 "配列 I<buf> は、返される I<rpcent> 構造体が指す文字列フィールドを\n"
432 "格納するのに使用される (リエントラントでない関数の場合は、\n"
433 "これらの文字列は静的な領域に格納される)。\n"
434 "この配列の大きさは I<buflen> で指定される。\n"
435 "I<buf> が小さすぎる場合、関数呼び出しはエラー B<ERANGE> で失敗し、\n"
436 "呼び出し側ではもっと大きなバッファで再度呼び出す必要がある (ほとんどの\n"
437 "アプリケーションでは、長さ 1024 バイトのバッファで十分なはずである)。"
438
439 #. type: Plain text
440 #: build/C/man3/getrpcent_r.3:105
441 msgid ""
442 "If the function call successfully obtains an RPC record, then I<*result> is "
443 "set pointing to I<result_buf>; otherwise, I<*result> is set to NULL."
444 msgstr ""
445 "関数呼び出しで RPC レコードの取得に成功すると、\n"
446 "I<*result> は I<result_buf> を指すように設定される。\n"
447 "それ以外の場合は I<*result> に NULL が設定される。"
448
449 #. type: Plain text
450 #: build/C/man3/getrpcent_r.3:108
451 msgid ""
452 "On success, these functions return 0.  On error, they return one of the "
453 "positive error numbers listed in ERRORS."
454 msgstr ""
455 "成功すると、これらの関数は 0 を返す。エラーの場合、「エラー」の節の\n"
456 "リストにある正のエラー番号のいずれかを返す。"
457
458 #. type: Plain text
459 #: build/C/man3/getrpcent_r.3:116
460 msgid ""
461 "On error, record not found (B<getrpcbyname_r>(), B<getrpcbynumber_r>()), or "
462 "end of input (B<getrpcent_r>())  I<result> is set to NULL."
463 msgstr ""
464 "エラーの場合、レコードが見つからなかった場合 (B<getrpcbyname_r>(),\n"
465 "B<getrpcbyaddr_r>()) やこれ以上レコードがない場合 (B<getrpcent_r>())、\n"
466 "I<result> には NULL が設定される。"
467
468 #. type: SH
469 #: build/C/man3/getrpcent_r.3:116 build/C/man3/rtime.3:38
470 #, no-wrap
471 msgid "ERRORS"
472 msgstr "エラー"
473
474 #. type: TP
475 #: build/C/man3/getrpcent_r.3:117
476 #, no-wrap
477 msgid "B<ENOENT>"
478 msgstr "B<ENOENT>"
479
480 #. type: Plain text
481 #: build/C/man3/getrpcent_r.3:121
482 msgid "(B<getrpcent_r>())  No more records in database."
483 msgstr "(B<getrpcent_r>())  データベースにこれ以上レコードがない。"
484
485 #. type: TP
486 #: build/C/man3/getrpcent_r.3:121
487 #, no-wrap
488 msgid "B<ERANGE>"
489 msgstr "B<ERANGE>"
490
491 #. type: Plain text
492 #: build/C/man3/getrpcent_r.3:128
493 msgid ""
494 "I<buf> is too small.  Try again with a larger buffer (and increased "
495 "I<buflen>)."
496 msgstr ""
497 "I<buf> が小さすぎる。もっと大きなバッファにして \n"
498 "(または I<buflen> を増やして) 再度呼び出すこと。"
499
500 #. type: Plain text
501 #: build/C/man3/getrpcent_r.3:132
502 msgid ""
503 "These functions are GNU extensions.  Functions with similar names exist on "
504 "some other systems, though typically with different calling signatures."
505 msgstr ""
506 "これらの関数は GNU による拡張である。\n"
507 "他のシステムにも同様の名前の関数が存在する場合があるが、\n"
508 "通常は関数の引き数が異なる。"
509
510 #. type: Plain text
511 #: build/C/man3/getrpcent_r.3:135
512 msgid "B<getrpcent>(3), B<rpc>(5)"
513 msgstr "B<getrpcent>(3), B<rpc>(5)"
514
515 #. type: TH
516 #: build/C/man3/getrpcport.3:4
517 #, no-wrap
518 msgid "GETRPCPORT"
519 msgstr "GETRPCPORT"
520
521 #. type: TH
522 #: build/C/man3/getrpcport.3:4
523 #, no-wrap
524 msgid "2007-12-23"
525 msgstr "2007-12-23"
526
527 #. type: Plain text
528 #: build/C/man3/getrpcport.3:7
529 msgid "getrpcport - get RPC port number"
530 msgstr "getrpcport - RPC ポート番号を取得する"
531
532 #. type: Plain text
533 #: build/C/man3/getrpcport.3:11
534 #, no-wrap
535 msgid "B<int getrpcport(char *>I<host>B<, int >I<prognum>B<, int >I<versnum>B<, int >I<proto>B<);>\n"
536 msgstr "B<int getrpcport(char *>I<host>B<, int >I<prognum>B<, int >I<versnum>B<, int >I<proto>B<);>\n"
537
538 #. type: Plain text
539 #: build/C/man3/getrpcport.3:32
540 msgid ""
541 "B<getrpcport>()  returns the port number for version I<versnum> of the RPC "
542 "program I<prognum> running on I<host> and using protocol I<proto>.  It "
543 "returns 0 if it cannot contact the portmapper, or if I<prognum> is not "
544 "registered.  If I<prognum> is registered but not with version I<versnum>, it "
545 "will still return a port number (for some version of the program)  "
546 "indicating that the program is indeed registered.  The version mismatch will "
547 "be detected upon the first call to the service."
548 msgstr ""
549 "B<getrpcport>()  は I<host> 上で I<proto> プロトコルを使用しているバージョン "
550 "I<versnum> の RPC プログラム I<prognum> のポート番号を返す。 ポートマッパーと"
551 "連絡が取れない場合や I<prognum> が登録されていない場合には 0 を返す。 "
552 "I<prognum> が登録されているが、バージョン I<versnum> でない場合にも、そのプロ"
553 "グラムが実際に登録されていることを示すために (そのプログラムのバージョンの)"
554 "ポート番号を返す。 バージョンの不一致は最初にそのサービスを呼び出した時に検出"
555 "される。"
556
557 #. type: TH
558 #: build/C/man3/key_setsecret.3:5
559 #, no-wrap
560 msgid "KEY_SETSECRET"
561 msgstr "KEY_SETSECRET"
562
563 #. type: TH
564 #: build/C/man3/key_setsecret.3:5
565 #, no-wrap
566 msgid "2002-07-18"
567 msgstr "2002-07-18"
568
569 #. type: Plain text
570 #: build/C/man3/key_setsecret.3:9
571 msgid ""
572 "key_decryptsession, key_encryptsession, key_setsecret, key_gendes, "
573 "key_secretkey_is_set - interfaces to rpc keyserver daemon"
574 msgstr ""
575 "key_decryptsession, key_encryptsession, key_setsecret, key_gendes, "
576 "key_secretkey_is_set - rpc 鍵サーバ・デーモンとのインタフェース"
577
578 #. type: Plain text
579 #: build/C/man3/key_setsecret.3:11
580 msgid "B<#include E<lt>rpc/rpc.hE<gt>>"
581 msgstr "B<#include E<lt>rpc/rpc.hE<gt>>"
582
583 #. type: Plain text
584 #: build/C/man3/key_setsecret.3:14
585 msgid ""
586 "B<int key_decryptsession(const char *>I<remotename>B<,> B<des_block "
587 "*>I<deskey>B<);>"
588 msgstr ""
589 "B<int key_decryptsession(const char *>I<remotename>B<,> B<des_block "
590 "*>I<deskey>B<);>"
591
592 #. type: Plain text
593 #: build/C/man3/key_setsecret.3:17
594 msgid ""
595 "B<int key_encryptsession(const char *>I<remotename>B<,> B<des_block "
596 "*>I<deskey>B<);>"
597 msgstr ""
598 "B<int key_encryptsession(const char *>I<remotename>B<,> B<des_block "
599 "*>I<deskey>B<);>"
600
601 #. type: Plain text
602 #: build/C/man3/key_setsecret.3:19
603 msgid "B<int key_gendes(des_block *>I<deskey>B<);>"
604 msgstr "B<int key_gendes(des_block *>I<deskey>B<);>"
605
606 #. type: Plain text
607 #: build/C/man3/key_setsecret.3:21
608 msgid "B<int key_setsecret(const char *>I<key>B<);>"
609 msgstr "B<int key_setsecret(const char *>I<key>B<);>"
610
611 #. type: Plain text
612 #: build/C/man3/key_setsecret.3:23
613 msgid "B<int key_secretkey_is_set(void);>"
614 msgstr "B<int key_secretkey_is_set(void);>"
615
616 #. type: Plain text
617 #: build/C/man3/key_setsecret.3:28
618 msgid ""
619 "The functions here are used within the RPC's secure authentication mechanism "
620 "(AUTH_DES).  There should be no need for user programs to use this functions."
621 msgstr ""
622 "これらの関数は RPC の安全な認証機構 (AUTH_DES) で使用される。 ユーザ・プログ"
623 "ラムでこれらの関数を使用する必要はない。"
624
625 #. type: Plain text
626 #: build/C/man3/key_setsecret.3:35
627 msgid ""
628 "The function B<key_decryptsession>()  uses the (remote) server netname and "
629 "takes the DES key for decrypting.  It uses the public key of the server and "
630 "the secret key associated with the effective UID of the calling process."
631 msgstr ""
632 "関数 B<key_decryptsession>()  は(リモート)サーバのネット名を用いて、復号用の "
633 "DES 鍵を取得する。 サーバの公開鍵と、呼び出し元プロセスの実効 UID に対応する"
634 "秘密鍵が使用される。"
635
636 #. type: Plain text
637 #: build/C/man3/key_setsecret.3:42
638 msgid ""
639 "The function B<key_encryptsession>()  is the inverse of B<key_decryptsession>"
640 "().  It encrypts the DES keys with the public key of the server and the "
641 "secret key associated with the effective UID of the calling process."
642 msgstr ""
643 "関数 B<key_encryptsession>()  は B<key_decryptsession>()  の逆の処理を行う。 "
644 "サーバの公開鍵と、呼び出し元プロセスの実効 UID に対応する秘密鍵で DES 鍵を暗"
645 "号する。"
646
647 #. type: Plain text
648 #: build/C/man3/key_setsecret.3:46
649 msgid ""
650 "The function B<key_gendes>()  is used to ask the keyserver for a secure "
651 "conversation key."
652 msgstr ""
653 "関数 B<key_gendes>()  は、鍵サーバに安全な通信を行うための鍵を要求するために"
654 "使用される。"
655
656 #. type: Plain text
657 #: build/C/man3/key_setsecret.3:50
658 msgid ""
659 "The function B<key_setsecret>()  is used to set the key for the effective "
660 "UID of the calling process."
661 msgstr ""
662 "関数 B<key_setsecret>()  は、呼び出し元プロセスの実効 UID に対して鍵を設定す"
663 "るために使用される。"
664
665 #. type: Plain text
666 #: build/C/man3/key_setsecret.3:55
667 msgid ""
668 "The function B<key_secretkey_is_set>()  can be used to determine whether a "
669 "key has been set for the effective UID of the calling process."
670 msgstr ""
671 "関数 B<key_secretkey_is_set>()  は、呼び出し元プロセスの実効 UID に対して鍵が"
672 "設定されているかどうかを 調べるために使用される。"
673
674 #. type: Plain text
675 #: build/C/man3/key_setsecret.3:57
676 msgid "These functions return 1 on success and 0 on failure."
677 msgstr "これらの関数は成功した場合 1 を、失敗した場合 0 を返す。"
678
679 #. type: SH
680 #: build/C/man3/key_setsecret.3:57 build/C/man3/rtime.3:53
681 #, no-wrap
682 msgid "NOTES"
683 msgstr "注意"
684
685 #. type: Plain text
686 #: build/C/man3/key_setsecret.3:62
687 msgid ""
688 "Note that we talk about two types of encryption here.  One is asymmetric "
689 "using a public and secret key.  The other is symmetric, the 64-bit DES."
690 msgstr ""
691 "ここでは 2 種類の暗号方式が登場することに注意すること。 一つは公開鍵と秘密鍵"
692 "を使用する非対称鍵暗号であり、 もう一つは対称鍵暗号である 64 ビット DES であ"
693 "る。"
694
695 #. type: Plain text
696 #: build/C/man3/key_setsecret.3:64
697 msgid "These routines were part of the Linux/Doors-project, abandoned by now."
698 msgstr ""
699 "これらの関数は Linux/Doors-project の成果の一部だったが、 現在までに該当箇所"
700 "はすべて破棄された。"
701
702 #. type: Plain text
703 #: build/C/man3/key_setsecret.3:66
704 msgid "B<crypt>(3)"
705 msgstr "B<crypt>(3)"
706
707 #. type: TH
708 #: build/C/man3/rpc.3:7 build/C/man5/rpc.5:4
709 #, no-wrap
710 msgid "RPC"
711 msgstr "RPC"
712
713 #. type: TH
714 #: build/C/man3/rpc.3:7
715 #, no-wrap
716 msgid "2008-07-17"
717 msgstr "2008-07-17"
718
719 #. type: Plain text
720 #: build/C/man3/rpc.3:10
721 msgid "rpc - library routines for remote procedure calls"
722 msgstr "rpc - 遠隔手続き呼び出し(RPC)のためのライブラリ・ルーティン"
723
724 #. type: SH
725 #: build/C/man3/rpc.3:10 build/C/man3/xdr.3:10
726 #, no-wrap
727 msgid "SYNOPSIS AND DESCRIPTION"
728 msgstr "書式と説明"
729
730 #.  .LP
731 #.  We don't have an rpc_secure.3 page at the moment -- MTK, 19 Sep 05
732 #.  Routines that are used for Secure RPC (DES authentication) are described in
733 #.  .BR rpc_secure (3).
734 #.  Secure RPC can be used only if DES encryption is available.
735 #. type: Plain text
736 #: build/C/man3/rpc.3:22
737 msgid ""
738 "These routines allow C programs to make procedure calls on other machines "
739 "across the network.  First, the client calls a procedure to send a data "
740 "packet to the server.  Upon receipt of the packet, the server calls a "
741 "dispatch routine to perform the requested service, and then sends back a "
742 "reply.  Finally, the procedure call returns to the client."
743 msgstr ""
744 "これらのルーティンは C プログラムでネットワークを通して 他のマシンにアクセス"
745 "するプロシジャを作成することを可能にする。 最初にクライアントはデータパケット"
746 "をサーバに送るために プロシジャを呼び出す。 サーバはパケットを受け取ると、配"
747 "分ルーチンを呼び出して 要求されたサービスに実行し、返答を送り返す。 最後にプ"
748 "ロシジャ・コールはクライアントへと戻る。"
749
750 #. type: Plain text
751 #: build/C/man3/rpc.3:25
752 msgid ""
753 "To take use of these routines, include the header file I<E<lt>rpc/rpc."
754 "hE<gt>>."
755 msgstr ""
756 "これらのルーティンを使用するには、ヘッダファイル I<E<lt>rpc/rpc.hE<gt>> をイ"
757 "ンクルードすること。"
758
759 #. type: Plain text
760 #: build/C/man3/rpc.3:27
761 msgid "The prototypes below make use of the following types:"
762 msgstr "下記のプロトタイプでは次の型を使用している。"
763
764 #. type: Plain text
765 #: build/C/man3/rpc.3:31 build/C/man3/xdr.3:24
766 #, no-wrap
767 msgid "typedef int I<bool_t>;\n"
768 msgstr "typedef int I<bool_t>;\n"
769
770 #. type: Plain text
771 #: build/C/man3/rpc.3:33 build/C/man3/xdr.3:26
772 #, no-wrap
773 msgid "typedef bool_t (*I<xdrproc_t>) (XDR *, void *,...);\n"
774 msgstr "typedef bool_t (*I<xdrproc_t>) (XDR *, void *,...);\n"
775
776 #. type: Plain text
777 #: build/C/man3/rpc.3:36
778 #, no-wrap
779 msgid ""
780 "typedef bool_t (*I<resultproc_t>) (caddr_t resp,\n"
781 "                                struct sockaddr_in *raddr);\n"
782 msgstr ""
783 "typedef bool_t (*I<resultproc_t>) (caddr_t resp,\n"
784 "                                struct sockaddr_in *raddr);\n"
785
786 #. type: Plain text
787 #: build/C/man3/rpc.3:46
788 msgid ""
789 "See the header files for the declarations of the I<AUTH>, I<CLIENT>, "
790 "I<SVCXPRT>, and I<XDR> types."
791 msgstr ""
792 "型 I<AUTH>, I<CLIENT>, I<SVCXPRT>, I<XDR> の宣言についてはヘッダファイルを参"
793 "照。"
794
795 #. type: Plain text
796 #: build/C/man3/rpc.3:49
797 #, no-wrap
798 msgid "B<void auth_destroy(AUTH *>I<auth>B<);>\n"
799 msgstr "B<void auth_destroy(AUTH *>I<auth>B<);>\n"
800
801 #. type: Plain text
802 #: build/C/man3/rpc.3:58
803 msgid ""
804 "A macro that destroys the authentication information associated with "
805 "I<auth>.  Destruction usually involves deallocation of private data "
806 "structures.  The use of I<auth> is undefined after calling B<auth_destroy>()."
807 msgstr ""
808 "このマクロは I<auth> に関連付けられた認証情報を破壊する。破壊は通常は私的な"
809 "データ構造の 破棄を含んでいる。 B<auth_destroy>()  を呼び出した後に I<auth> "
810 "を使用することは未定義である。"
811
812 #. type: Plain text
813 #: build/C/man3/rpc.3:61
814 #, no-wrap
815 msgid "B<AUTH *authnone_create(void);>\n"
816 msgstr "B<AUTH *authnone_create(void);>\n"
817
818 #. type: Plain text
819 #: build/C/man3/rpc.3:67
820 msgid ""
821 "Create and return an RPC authentication handle that passes nonusable "
822 "authentication information with each remote procedure call.  This is the "
823 "default authentication used by RPC."
824 msgstr ""
825 "各リモート・プロシジャ・コールで使用できない仮の認証情報として渡される RPC 認"
826 "証ハンドルを作成して返す。 これは RPC で使用されるデフォルトの認証である。"
827
828 #. type: Plain text
829 #: build/C/man3/rpc.3:71
830 #, no-wrap
831 msgid ""
832 "B<AUTH *authunix_create(char *>I<host>B<, int >I<uid>B<, int >I<gid>B<,>\n"
833 "B<                      int >I<len>B<, int *>I<aup_gids>B<);>\n"
834 msgstr ""
835 "B<AUTH *authunix_create(char *>I<host>B<, int >I<uid>B<, int >I<gid>B<,>\n"
836 "B<                      int >I<len>B<, int *>I<aup_gids>B<);>\n"
837
838 #. type: Plain text
839 #: build/C/man3/rpc.3:87
840 msgid ""
841 "Create and return an RPC authentication handle that contains authentication "
842 "information.  The parameter I<host> is the name of the machine on which the "
843 "information was created; I<uid> is the user's user ID; I<gid> is the user's "
844 "current group ID; I<len> and I<aup_gids> refer to a counted array of groups "
845 "to which the user belongs.  It is easy to impersonate a user."
846 msgstr ""
847 "認証情報を含んだ RPC 認証ハンドルを作成して返す。 I<host> パラメーターは情報"
848 "が作成されたマシンの名前である。 I<uid> はそのユーザのユーザ E<.SM ID> 、 "
849 "I<gid> はそのユーザの現在のグループ E<.SM ID> である。 I<len> と I<aup_gids> "
850 "はそのユーザが所属するグループの配列を参照している。 他のユーザになりすますこ"
851 "とは簡単である。"
852
853 #. type: Plain text
854 #: build/C/man3/rpc.3:90
855 #, no-wrap
856 msgid "B<AUTH *authunix_create_default(void);>\n"
857 msgstr "B<AUTH *authunix_create_default(void);>\n"
858
859 #. type: Plain text
860 #: build/C/man3/rpc.3:95
861 msgid "Calls B<authunix_create>()  with the appropriate parameters."
862 msgstr "適切なパラメーターで B<authunix_create>()  を呼び出す。"
863
864 #. type: Plain text
865 #: build/C/man3/rpc.3:101
866 #, no-wrap
867 msgid ""
868 "B<int callrpc(char *>I<host>B<, unsigned long >I<prognum>B<,>\n"
869 "B<            unsigned long >I<versnum>B<, unsigned long >I<procnum>B<,>\n"
870 "B<            xdrproc_t >I<inproc>B<, char *>I<in>B<,>\n"
871 "B<            xdrproc_t >I<outproc>B<, char *>I<out>B<);>\n"
872 msgstr ""
873 "B<int callrpc(char *>I<host>B<, unsigned long >I<prognum>B<,>\n"
874 "B<            unsigned long >I<versnum>B<, unsigned long >I<procnum>B<,>\n"
875 "B<            xdrproc_t >I<inproc>B<, char *>I<in>B<,>\n"
876 "B<            xdrproc_t >I<outproc>B<, char *>I<out>B<);>\n"
877
878 #. type: Plain text
879 #: build/C/man3/rpc.3:125
880 msgid ""
881 "Call the remote procedure associated with I<prognum>, I<versnum>, and "
882 "I<procnum> on the machine, I<host>.  The parameter I<in> is the address of "
883 "the procedure's argument(s), and I<out> is the address of where to place the "
884 "result(s); I<inproc> is used to encode the procedure's parameters, and "
885 "I<outproc> is used to decode the procedure's results.  This routine returns "
886 "zero if it succeeds, or the value of B<enum clnt_stat> cast to an integer if "
887 "it fails.  The routine B<clnt_perrno>()  is handy for translating failure "
888 "statuses into messages."
889 msgstr ""
890 "マシン I<host> 上で I<prognum>, I<versnum>, I<procnum> に関連付けられたリモー"
891 "ト・プロシジャを呼び出す。 パラメーター I<in> はプロシジャの引き数のアドレス"
892 "であり I<out> は結果を格納するアドレスである。 I<inproc> はプロシジャのパラ"
893 "メーターをエンコードするのに使用され、 I<outproc> は結果をデコードするのに使"
894 "用される。 このルーティンは成功した場合にはゼロを返す。失敗した場合には "
895 "B<enum clnt_stat> を整数にキャストした値を返す。 B<clnt_perrno>()  ルーティン"
896 "が失敗の状態をメッセージに変換するのに使用できる。"
897
898 #. type: Plain text
899 #: build/C/man3/rpc.3:131
900 msgid ""
901 "Warning: calling remote procedures with this routine uses UDP/IP as a "
902 "transport; see B<clntudp_create>()  for restrictions.  You do not have "
903 "control of timeouts or authentication using this routine."
904 msgstr ""
905 "警告: このルーティンでリモート・プロシジャを呼び出すと通信には UDP/IP が使用"
906 "される。この際の制限については B<clntudp_create>()  を参照すること。このルー"
907 "ティンを使用して認証や時間切れの制御を することはできない。"
908
909 #. type: Plain text
910 #: build/C/man3/rpc.3:138
911 #, no-wrap
912 msgid ""
913 "B<enum clnt_stat clnt_broadcast(unsigned long >I<prognum>B<,>\n"
914 "B<                     unsigned long >I<versnum>B<, unsigned long >I<procnum>B<,>\n"
915 "B<                     xdrproc_t >I<inproc>B<, char *>I<in>B<,>\n"
916 "B<                     xdrproc_t >I<outproc>B<, char *>I<out>B<,>\n"
917 "B<                     resultproc_t >I<eachresult>B<);>\n"
918 msgstr ""
919 "B<enum clnt_stat clnt_broadcast(unsigned long >I<prognum>B<,>\n"
920 "B<                     unsigned long >I<versnum>B<, unsigned long >I<procnum>B<,>\n"
921 "B<                     xdrproc_t >I<inproc>B<, char *>I<in>B<,>\n"
922 "B<                     xdrproc_t >I<outproc>B<, char *>I<out>B<,>\n"
923 "B<                     resultproc_t >I<eachresult>B<);>\n"
924
925 #. type: Plain text
926 #: build/C/man3/rpc.3:147
927 msgid ""
928 "Like B<callrpc>(), except the call message is broadcast to all locally "
929 "connected broadcast nets.  Each time it receives a response, this routine "
930 "calls B<eachresult>(), whose form is:"
931 msgstr ""
932 "B<callrpc>()  と同様であるが、メッセージがローカルのブロードキャスト・ネット"
933 "ワーク 全体へとブロードキャストされる点が異っている。回答を受け取る度に この"
934 "ルーティンは以下の形式の B<eachresult>()  を呼び出す。"
935
936 #. type: Plain text
937 #: build/C/man3/rpc.3:151
938 #, no-wrap
939 msgid "B<eachresult(char *>I<out>B<, struct sockaddr_in *>I<addr>B<);>\n"
940 msgstr "B<eachresult(char *>I<out>B<, struct sockaddr_in *>I<addr>B<);>\n"
941
942 #. type: Plain text
943 #: build/C/man3/rpc.3:168
944 msgid ""
945 "where I<out> is the same as I<out> passed to B<clnt_broadcast>(), except "
946 "that the remote procedure's output is decoded there; I<addr> points to the "
947 "address of the machine that sent the results.  If B<eachresult>()  returns "
948 "zero, B<clnt_broadcast>()  waits for more replies; otherwise it returns with "
949 "appropriate status."
950 msgstr ""
951 "ここで I<out> は B<clnt_broadcast>()  に渡される I<out> と同じであるが、リ"
952 "モート・プロシジャからの出力がデコードされている 点のみが異っている。 "
953 "I<addr> は結果を送って来たマシンのアドレスを指している。 B<eachresult>()  が"
954 "ゼロを返した場合、 B<clnt_broadcast>()  はさらなる回答を待つ。そうでなければ"
955 "適切な状態で終了する。"
956
957 #. type: Plain text
958 #: build/C/man3/rpc.3:172
959 msgid ""
960 "Warning: broadcast sockets are limited in size to the maximum transfer unit "
961 "of the data link.  For ethernet, this value is 1500 bytes."
962 msgstr ""
963 "警告: ブロードキャスト・ソケットはデータリンク層の最大転送単位に 制限されてい"
964 "る。イーサネットの場合、最大値は 1500 バイトである。"
965
966 #. type: Plain text
967 #: build/C/man3/rpc.3:178
968 #, no-wrap
969 msgid ""
970 "B<enum clnt_stat clnt_call(CLIENT *>I<clnt>B<, unsigned long >I<procnum>B<,>\n"
971 "B<                    xdrproc_t >I<inproc>B<, char *>I<in>B<,>\n"
972 "B<                    xdrproc_t >I<outproc>B<, char *>I<out>B<,>\n"
973 "B<                    struct timeval >I<tout>B<);>\n"
974 msgstr ""
975 "B<enum clnt_stat clnt_call(CLIENT *>I<clnt>B<, unsigned long >I<procnum>B<,>\n"
976 "B<                    xdrproc_t >I<inproc>B<, char *>I<in>B<,>\n"
977 "B<                    xdrproc_t >I<outproc>B<, char *>I<out>B<,>\n"
978 "B<                    struct timeval >I<tout>B<);>\n"
979
980 #. type: Plain text
981 #: build/C/man3/rpc.3:197
982 msgid ""
983 "A macro that calls the remote procedure I<procnum> associated with the "
984 "client handle, I<clnt>, which is obtained with an RPC client creation "
985 "routine such as B<clnt_create>().  The parameter I<in> is the address of the "
986 "procedure's argument(s), and I<out> is the address of where to place the "
987 "result(s); I<inproc> is used to encode the procedure's parameters, and "
988 "I<outproc> is used to decode the procedure's results; I<tout> is the time "
989 "allowed for results to come back."
990 msgstr ""
991 "このマクロはクライアント・ハンドル I<clnt> に関連付けられた I<procnum> リモー"
992 "ト・プロシジャを呼び出す。 クライアント・ハンドルは B<clnt_create>()  のよう"
993 "な E<.SM RPC> クライアント作成ルーティンによって得られる。 パタメータ I<in> "
994 "はプロシジャの引き数のアドレスである。 I<out> はプロシジャの返り値を格納する"
995 "アドレスである。 I<inproc> はプロシジャのパラメーターをエンコードするのに使用"
996 "される。 I<outproc> はプロシジャの返り値をデコードするのに使用される。 "
997 "I<tout> は結果が返されるのを待つ時間である。"
998
999 #. type: Plain text
1000 #: build/C/man3/rpc.3:200
1001 #, no-wrap
1002 msgid "B<clnt_destroy(CLIENT *>I<clnt>B<);>\n"
1003 msgstr "B<clnt_destroy(CLIENT *>I<clnt>B<);>\n"
1004
1005 #. type: Plain text
1006 #: build/C/man3/rpc.3:213
1007 msgid ""
1008 "A macro that destroys the client's RPC handle.  Destruction usually involves "
1009 "deallocation of private data structures, including I<clnt> itself.  Use of "
1010 "I<clnt> is undefined after calling B<clnt_destroy>().  If the RPC library "
1011 "opened the associated socket, it will close it also.  Otherwise, the socket "
1012 "remains open."
1013 msgstr ""
1014 "このマクロはクライアントの RPC ハンドルを破壊する。破壊には通常は I<clnt> 自"
1015 "身も含めて私的なデータ構造体の破棄が含まれている。 B<clnt_destroy>()  の呼び"
1016 "出しの後に I<clnt> を使用することは未定義である。 RPC ライブラリが関連するソ"
1017 "ケットをオープンした場合には、 それも閉じられる。それ以外の場合にはソケットは"
1018 "オープンされたままである。"
1019
1020 #. type: Plain text
1021 #: build/C/man3/rpc.3:217
1022 #, no-wrap
1023 msgid ""
1024 "B<CLIENT *clnt_create(char *>I<host>B<, unsigned long >I<prog>B<,>\n"
1025 "B<                    unsigned long >I<vers>B<, char *>I<proto>B<);>\n"
1026 msgstr ""
1027 "B<CLIENT *clnt_create(char *>I<host>B<, unsigned long >I<prog>B<,>\n"
1028 "B<                    unsigned long >I<vers>B<, char *>I<proto>B<);>\n"
1029
1030 #. type: Plain text
1031 #: build/C/man3/rpc.3:228
1032 msgid ""
1033 "Generic client creation routine.  I<host> identifies the name of the remote "
1034 "host where the server is located.  I<proto> indicates which kind of "
1035 "transport protocol to use.  The currently supported values for this field "
1036 "are \\(lqudp\\(rq and \\(lqtcp\\(rq.  Default timeouts are set, but can be "
1037 "modified using B<clnt_control>()."
1038 msgstr ""
1039 "一般的なクライアントの作成ルーティンである。 I<host> はサーバのあるリモートホ"
1040 "ストの名前を指定する。 I<proto> どのような通信プロトコルを使用するかを指定す"
1041 "る。現在ここに 使用できる値は \\(lqudp\\(rq と \\(lqtcp\\(rq である。 デフォ"
1042 "ルトの時間切れが設定されるが、 B<clnt_control>()  を使用して変更可能である。"
1043
1044 #. type: Plain text
1045 #: build/C/man3/rpc.3:233
1046 msgid ""
1047 "Warning: Using UDP has its shortcomings.  Since UDP-based RPC messages can "
1048 "only hold up to 8 Kbytes of encoded data, this transport cannot be used for "
1049 "procedures that take large arguments or return huge results."
1050 msgstr ""
1051 "警告: UDP を使用した場合には欠点がある。 UDP に基づいた RPC メッセージは 最大"
1052 "でも 8 KByte のエンコードデータしか保持する ことができないため、大きな引き数"
1053 "や巨大な結果を取るプロシジャに は使用することができない。"
1054
1055 #. type: Plain text
1056 #: build/C/man3/rpc.3:236
1057 #, no-wrap
1058 msgid "B<bool_t clnt_control(CLIENT *>I<cl>B<, int >I<req>B<, char *>I<info>B<);>\n"
1059 msgstr "B<bool_t clnt_control(CLIENT *>I<cl>B<, int >I<req>B<, char *>I<info>B<);>\n"
1060
1061 #. type: Plain text
1062 #: build/C/man3/rpc.3:247
1063 msgid ""
1064 "A macro used to change or retrieve various information about a client "
1065 "object.  I<req> indicates the type of operation, and I<info> is a pointer to "
1066 "the information.  For both UDP and TCP, the supported values of I<req> and "
1067 "their argument types and what they do are:"
1068 msgstr ""
1069 "このマクロは各種クライアントについて情報を変更したり、取得したり するのに使用"
1070 "する。 I<req> は操作の種類を指定する。 I<info> は情報へのポインターである。 "
1071 "UDP と TCP どちらの場合も使用可能な I<req> の値と、その引き数の型、およびその"
1072 "内容は以下の通りである:"
1073
1074 #. type: Plain text
1075 #: build/C/man3/rpc.3:252
1076 #, no-wrap
1077 msgid ""
1078 "B<CLSET_TIMEOUT>  I<struct timeval> // set total timeout\n"
1079 "B<CLGET_TIMEOUT>  I<struct timeval> // get total timeout\n"
1080 msgstr ""
1081 "B<CLSET_TIMEOUT>  I<struct timeval> // 時間切れを設定する\n"
1082 "B<CLGET_TIMEOUT>  I<struct timeval> // 時間切れを取得する\n"
1083
1084 #. type: Plain text
1085 #: build/C/man3/rpc.3:260
1086 msgid ""
1087 "Note: if you set the timeout using B<clnt_control>(), the timeout parameter "
1088 "passed to B<clnt_call>()  will be ignored in all future calls."
1089 msgstr ""
1090 "注意: B<clnt_control>()  を使用して時間切れを設定した場合にはそれ以後は "
1091 "B<clnt_call>()  に渡される時間切れパラメーターは全て無視される。"
1092
1093 #. type: Plain text
1094 #: build/C/man3/rpc.3:264
1095 #, no-wrap
1096 msgid "B<CLGET_SERVER_ADDR>  I<struct sockaddr_in > // get server's address\n"
1097 msgstr "B<CLGET_SERVER_ADDR>  I<struct sockaddr_in > // サーバアドレスを取得する\n"
1098
1099 #. type: Plain text
1100 #: build/C/man3/rpc.3:268
1101 msgid "The following operations are valid for UDP only:"
1102 msgstr "以下の操作は UDP の場合にのみ有効である:"
1103
1104 #. type: Plain text
1105 #: build/C/man3/rpc.3:273
1106 #, no-wrap
1107 msgid ""
1108 "B<CLSET_RETRY_TIMEOUT>  I<struct timeval> // set the retry timeout\n"
1109 "B<CLGET_RETRY_TIMEOUT>  I<struct timeval> // get the retry timeout\n"
1110 msgstr ""
1111 "B<CLSET_RETRY_TIMEOUT>  I<struct timeval> // 再送間隔を設定する\n"
1112 "B<CLGET_RETRY_TIMEOUT>  I<struct timeval> // 再送間隔を取得する\n"
1113
1114 #. type: Plain text
1115 #: build/C/man3/rpc.3:279
1116 msgid ""
1117 "The retry timeout is the time that \"UDP RPC\" waits for the server to reply "
1118 "before retransmitting the request."
1119 msgstr ""
1120 "再送間隔は次に要求を再送する前に \"UDP RPC\" がサーバの回答を待つ時間である。"
1121
1122 #. type: Plain text
1123 #: build/C/man3/rpc.3:282
1124 #, no-wrap
1125 msgid "B<clnt_freeres(CLIENT * >I<clnt>B<, xdrproc_t >I<outproc>B<, char *>I<out>B<);>\n"
1126 msgstr "B<clnt_freeres(CLIENT * >I<clnt>B<, xdrproc_t >I<outproc>B<, char *>I<out>B<);>\n"
1127
1128 #. type: Plain text
1129 #: build/C/man3/rpc.3:293
1130 msgid ""
1131 "A macro that frees any data allocated by the RPC/XDR system when it decoded "
1132 "the results of an RPC call.  The parameter I<out> is the address of the "
1133 "results, and I<outproc> is the XDR routine describing the results.  This "
1134 "routine returns one if the results were successfully freed, and zero "
1135 "otherwise."
1136 msgstr ""
1137 "このマクロは RPC 呼び出しの結果のデコードの際に RPC/XDR システムによって割当"
1138 "てられたデータを解放する。 パラメーター I<out> は結果のアドレスである。 "
1139 "I<outproc> は結果を記述している XDR ルーティンである。 このルーティンは結果の"
1140 "解放に成功した場合には 1 を返す。 失敗した場合にはゼロを返す。"
1141
1142 #. type: Plain text
1143 #: build/C/man3/rpc.3:296
1144 #, no-wrap
1145 msgid "B<void clnt_geterr(CLIENT *>I<clnt>B<, struct rpc_err *>I<errp>B<);>\n"
1146 msgstr "B<void clnt_geterr(CLIENT *>I<clnt>B<, struct rpc_err *>I<errp>B<);>\n"
1147
1148 #. type: Plain text
1149 #: build/C/man3/rpc.3:301
1150 msgid ""
1151 "A macro that copies the error structure out of the client handle to the "
1152 "structure at address I<errp>."
1153 msgstr ""
1154 "このマクロはクライアント・ハンドルのエラー構造体を I<errp> アドレスで指定され"
1155 "た構造体へコピーする。"
1156
1157 #. type: Plain text
1158 #: build/C/man3/rpc.3:304
1159 #, no-wrap
1160 msgid "B<void clnt_pcreateerror(char *>I<s>B<);>\n"
1161 msgstr "B<void clnt_pcreateerror(char *>I<s>B<);>\n"
1162
1163 #. type: Plain text
1164 #: build/C/man3/rpc.3:318
1165 msgid ""
1166 "Print a message to standard error indicating why a client RPC handle could "
1167 "not be created.  The message is prepended with string I<s> and a colon.  "
1168 "Used when a B<clnt_create>(), B<clntraw_create>(), B<clnttcp_create>(), or "
1169 "B<clntudp_create>()  call fails."
1170 msgstr ""
1171 "標準エラー出力に、なぜクライアント RPC ハンドルの作成が できなかったかについ"
1172 "てのメッセージを表示する。 メッセージの前に文字列 I<s> とコロン(:)が表示され"
1173 "る。 B<clnt_create>(), B<clntraw_create>(), B<clnttcp_create>(), "
1174 "B<clntudp_create>()  の呼び出しが失敗した時に使用すること。"
1175
1176 #. type: Plain text
1177 #: build/C/man3/rpc.3:321
1178 #, no-wrap
1179 msgid "B<void clnt_perrno(enum clnt_stat >I<stat>B<);>\n"
1180 msgstr "B<void clnt_perrno(enum clnt_stat >I<stat>B<);>\n"
1181
1182 #. type: Plain text
1183 #: build/C/man3/rpc.3:328
1184 msgid ""
1185 "Print a message to standard error corresponding to the condition indicated "
1186 "by I<stat>.  Used after B<callrpc>()."
1187 msgstr ""
1188 "標準エラー出力に I<stat> によって指示されるエラー状態に対応するメッセージを表"
1189 "示する。 B<callrpc>()  の後に使用すること。"
1190
1191 #. type: Plain text
1192 #: build/C/man3/rpc.3:331
1193 #, no-wrap
1194 msgid "B<clnt_perror(CLIENT *>I<clnt>B<, char *>I<s>B<);>\n"
1195 msgstr "B<clnt_perror(CLIENT *>I<clnt>B<, char *>I<s>B<);>\n"
1196
1197 #. type: Plain text
1198 #: build/C/man3/rpc.3:341
1199 msgid ""
1200 "Print a message to standard error indicating why an RPC call failed; I<clnt> "
1201 "is the handle used to do the call.  The message is prepended with string "
1202 "I<s> and a colon.  Used after B<clnt_call>()."
1203 msgstr ""
1204 "標準エラー出力に、なぜ RPC 呼び出しが失敗したかについてのメッセージを表示す"
1205 "る。 I<clnt> はコールに使用したハンドルである。 メッセージの前に文字列 I<s> "
1206 "とコロン(:)が表示される。 B<clnt_call>()  が失敗した後に使用すること。"
1207
1208 #. type: Plain text
1209 #: build/C/man3/rpc.3:344
1210 #, no-wrap
1211 msgid "B<char *clnt_spcreateerror(char *>I<s>B<);>\n"
1212 msgstr "B<char *clnt_spcreateerror(char *>I<s>B<);>\n"
1213
1214 #. type: Plain text
1215 #: build/C/man3/rpc.3:349
1216 msgid ""
1217 "Like B<clnt_pcreateerror>(), except that it returns a string instead of "
1218 "printing to the standard error."
1219 msgstr ""
1220 "B<clnt_pcreateerror>()  と同様であるが、標準エラー出力へ表示するかわりに文字"
1221 "列を返す点が異っている。"
1222
1223 #. type: Plain text
1224 #: build/C/man3/rpc.3:351 build/C/man3/rpc.3:391
1225 msgid "Bugs: returns pointer to static data that is overwritten on each call."
1226 msgstr "バグ: 静的な領域へのポインターを返すため、呼び出しごとに上書きされる。"
1227
1228 #. type: Plain text
1229 #: build/C/man3/rpc.3:354
1230 #, no-wrap
1231 msgid "B<char *clnt_sperrno(enum clnt_stat >I<stat>B<);>\n"
1232 msgstr "B<char *clnt_sperrno(enum clnt_stat >I<stat>B<);>\n"
1233
1234 #. type: Plain text
1235 #: build/C/man3/rpc.3:361
1236 msgid ""
1237 "Take the same arguments as B<clnt_perrno>(), but instead of sending a "
1238 "message to the standard error indicating why an RPC call failed, return a "
1239 "pointer to a string which contains the message.  The string ends with a "
1240 "NEWLINE."
1241 msgstr ""
1242 "B<clnt_perrno>()  と同じ引き数を取るが、なぜ RPC 呼び出しが失敗したかについて"
1243 "のメッセージを標準エラー出力に表示する かわりに、メッセージを格納している文字"
1244 "列へのポインターを返す。 文字列は NEWLINE(改行) で終っている。"
1245
1246 #. type: Plain text
1247 #: build/C/man3/rpc.3:379
1248 msgid ""
1249 "B<clnt_sperrno>()  is used instead of B<clnt_perrno>()  if the program does "
1250 "not have a standard error (as a program running as a server quite likely "
1251 "does not), or if the programmer does not want the message to be output with "
1252 "B<printf>(3), or if a message format different than that supported by "
1253 "B<clnt_perrno>()  is to be used.  Note: unlike B<clnt_sperror>()  and "
1254 "B<clnt_spcreaterror>(), B<clnt_sperrno>()  returns pointer to static data, "
1255 "but the result will not get overwritten on each call."
1256 msgstr ""
1257 "B<clnt_sperrno>()  はプログラムが標準エラー出力を持っていない場合(プログラム"
1258 "がサーバとし て走っている場合にはよくありえる)や、プログラマーがメッセージを "
1259 "B<printf>(3)  で出力することを望まない場合や、メッセージの形式が "
1260 "B<clnt_perrno>()  がサポートするものとは異っている場合などに B<clnt_perrno>"
1261 "()  のかわりに使用される。 注意: B<clnt_sperror>()  や B<clnt_spcreaterror>"
1262 "()  とは違って B<clnt_sperrno>()  は静的データへのポインターを返す。しかし呼"
1263 "び出しごとに上書きされることはない。"
1264
1265 #. type: Plain text
1266 #: build/C/man3/rpc.3:382
1267 #, no-wrap
1268 msgid "B<char *clnt_sperror(CLIENT *>I<rpch>B<, char *>I<s>B<);>\n"
1269 msgstr "B<char *clnt_sperror(CLIENT *>I<rpch>B<, char *>I<s>B<);>\n"
1270
1271 #. type: Plain text
1272 #: build/C/man3/rpc.3:389
1273 msgid ""
1274 "Like B<clnt_perror>(), except that (like B<clnt_sperrno>())  it returns a "
1275 "string instead of printing to standard error."
1276 msgstr ""
1277 "B<clnt_perror>()  と同様であるが、標準エラー出力に表示する代りに "
1278 "(B<clnt_sperrno>()  のように) 文字列へのポインターを返す点が異っている。"
1279
1280 #. type: Plain text
1281 #: build/C/man3/rpc.3:395
1282 #, no-wrap
1283 msgid "B<CLIENT *clntraw_create(unsigned long >I<prognum>B<, unsigned long >I<versnum>B<);>\n"
1284 msgstr "B<CLIENT *clntraw_create(unsigned long >I<prognum>B<, unsigned long >I<versnum>B<);>\n"
1285
1286 #. type: Plain text
1287 #: build/C/man3/rpc.3:408
1288 msgid ""
1289 "This routine creates a toy RPC client for the remote program I<prognum>, "
1290 "version I<versnum>.  The transport used to pass messages to the service is "
1291 "actually a buffer within the process's address space, so the corresponding "
1292 "RPC server should live in the same address space; see B<svcraw_create>().  "
1293 "This allows simulation of RPC and acquisition of RPC overheads, such as "
1294 "round trip times, without any kernel interference.  This routine returns "
1295 "NULL if it fails."
1296 msgstr ""
1297 "このルーティンはリモート・プログラム I<prognum>、 バージョン I<versnum> のた"
1298 "めの擬似 RPC クライアントを作成する。メッセージをサービスに渡すために使用す"
1299 "る 通信は実際にはそのプロセスのアドレス空間にあるバッファーである。 それで、"
1300 "対応する RPC サーバが同じアドレス空間の中にいなければならない。 "
1301 "B<svcraw_create>()  を参照すること。 これにより RPC のシミュレーションや、"
1302 "カーネル・インターフェースに影響されずに 応答時間などの RPC オーバヘッドの獲"
1303 "得ができる。 失敗した場合にはこのルーティンは NULL を返す。"
1304
1305 #. type: Plain text
1306 #: build/C/man3/rpc.3:414
1307 #, no-wrap
1308 msgid ""
1309 "B<CLIENT *clnttcp_create(struct sockaddr_in *>I<addr>B<,>\n"
1310 "B<                unsigned long >I<prognum>B<, unsigned long >I<versnum>B<,>\n"
1311 "B<                int *>I<sockp>B<, unsigned int >I<sendsz>B<, unsigned int >I<recvsz>B<);>\n"
1312 msgstr ""
1313 "B<CLIENT *clnttcp_create(struct sockaddr_in *>I<addr>B<,>\n"
1314 "B<                unsigned long >I<prognum>B<, unsigned long >I<versnum>B<,>\n"
1315 "B<                int *>I<sockp>B<, unsigned int >I<sendsz>B<, unsigned int >I<recvsz>B<);>\n"
1316
1317 #. The following inline font conversion is necessary for the hyphen indicator
1318 #. type: Plain text
1319 #: build/C/man3/rpc.3:444
1320 msgid ""
1321 "This routine creates an RPC client for the remote program I<prognum>, "
1322 "version I<versnum>; the client uses TCP/IP as a transport.  The remote "
1323 "program is located at Internet address I<*addr>.  If I<addr-E<gt>sin_port> "
1324 "is zero, then it is set to the actual port that the remote program is "
1325 "listening on (the remote B<portmap> service is consulted for this "
1326 "information).  The parameter I<sockp> is a socket; if it is B<RPC_ANYSOCK>, "
1327 "then this routine opens a new one and sets I<sockp>.  Since TCP-based RPC "
1328 "uses buffered I/O, the user may specify the size of the send and receive "
1329 "buffers with the parameters I<sendsz> and I<recvsz>; values of zero choose "
1330 "suitable defaults.  This routine returns NULL if it fails."
1331 msgstr ""
1332 "このルーティンはリモート・プログラム I<prognum>、 バージョン I<versnum> のた"
1333 "めの RPC クライアントを作成する。クライアントは通信に TCP/IP を使用する。リ"
1334 "モート・プログラムはインターネット・アドレスの I<*addr> にある。 I<addr-"
1335 "E<gt>sin_port> がゼロならば、実際にリモート・プログラムが listen しているポー"
1336 "トが設定される。(この情報のためにリモートの B<portmap> サービスが利用され"
1337 "る。) パラメーター I<sockp> はソケットである。もしこれが B<RPC_ANYSOCK> に設"
1338 "定されている場合は、このルーティンが新しいソケットをオープンして I<sockp> に"
1339 "設定する。 TCP に基づいた RPC はバッファされた I/O を使用するため、ユーザはパ"
1340 "ラメーター I<sendsz> と I<recvsz> を使用して送信バッファと受信バッファのサイ"
1341 "ズを指定することができる。 ゼロを指定した場合には適切なデフォルトが選択され"
1342 "る。 このルーティンは失敗した場合は NULL を返す。"
1343
1344 #. type: Plain text
1345 #: build/C/man3/rpc.3:449
1346 #, no-wrap
1347 msgid ""
1348 "B<CLIENT *clntudp_create(struct sockaddr_in *>I<addr>B<,>\n"
1349 "B<                unsigned long >I<prognum>B<, unsigned long >I<versnum>B<,>\n"
1350 "B<                struct timeval >I<wait>B<, int *>I<sockp>B<);>\n"
1351 msgstr ""
1352 "B<CLIENT *clntudp_create(struct sockaddr_in *>I<addr>B<,>\n"
1353 "B<                unsigned long >I<prognum>B<, unsigned long >I<versnum>B<,>\n"
1354 "B<                struct timeval >I<wait>B<, int *>I<sockp>B<);>\n"
1355
1356 #. type: Plain text
1357 #: build/C/man3/rpc.3:475
1358 msgid ""
1359 "This routine creates an RPC client for the remote program I<prognum>, "
1360 "version I<versnum>; the client uses use UDP/IP as a transport.  The remote "
1361 "program is located at Internet address I<addr>.  If I<addr-E<gt>sin_port> is "
1362 "zero, then it is set to actual port that the remote program is listening on "
1363 "(the remote B<portmap> service is consulted for this information).  The "
1364 "parameter I<sockp> is a socket; if it is B<RPC_ANYSOCK>, then this routine "
1365 "opens a new one and sets I<sockp>.  The UDP transport resends the call "
1366 "message in intervals of I<wait> time until a response is received or until "
1367 "the call times out.  The total time for the call to time out is specified by "
1368 "B<clnt_call>()."
1369 msgstr ""
1370 "このルーティンはリモート・プログラム I<prognum>、 バージョン I<versnum> のた"
1371 "めの RPC クライアントを作成する。クライアントは通信に UDP/IP を使用する。リ"
1372 "モート・プログラムはインターネット・アドレスの I<*addr> にある。 I<addr-"
1373 "E<gt>sin_port> がゼロならば、実際にリモート・プログラムが listen しているポー"
1374 "トが設定される。(この情報のためにリモートの B<portmap> サービスが利用され"
1375 "る。) パラメーター I<sockp> はソケットである。もしこれが B<RPC_ANYSOCK> に設"
1376 "定されている場合は、このルーティンが新しいソケットをオープンして I<sockp> に"
1377 "設定する。 UDP 通信は回答があるか、時間切れが起こるまで B<wait> 間隔で呼び出"
1378 "しメッセージを再送する。時間切れが起こるまでの合計時間は B<clnt_call>()  で指"
1379 "定する。"
1380
1381 #. type: Plain text
1382 #: build/C/man3/rpc.3:479
1383 msgid ""
1384 "Warning: since UDP-based RPC messages can only hold up to 8 Kbytes of "
1385 "encoded data, this transport cannot be used for procedures that take large "
1386 "arguments or return huge results."
1387 msgstr ""
1388 "警告: UDP に基づいた RPC メッセージは最大でも 8 Kbyte までのエンコードされた"
1389 "データしか 保持できないため、この通信は大きな引き数や巨大な結果を取る プロシ"
1390 "ジャには使用できない。"
1391
1392 #. type: Plain text
1393 #: build/C/man3/rpc.3:485
1394 #, no-wrap
1395 msgid ""
1396 "B<CLIENT *clntudp_bufcreate(struct sockaddr_in *>I<addr>B<,>\n"
1397 "B<            unsigned long >I<prognum>B<, unsigned long >I<versnum>B<,>\n"
1398 "B<            struct timeval >I<wait>B<, int *>I<sockp>B<,>\n"
1399 "B<            unsigned int >I<sendsize>B<, unsigned int >I<recosize>B<);>\n"
1400 msgstr ""
1401 "B<CLIENT *clntudp_bufcreate(struct sockaddr_in *>I<addr>B<,>\n"
1402 "B<            unsigned long >I<prognum>B<, unsigned long >I<versnum>B<,>\n"
1403 "B<            struct timeval >I<wait>B<, int *>I<sockp>B<,>\n"
1404 "B<            unsigned int >I<sendsize>B<, unsigned int >I<recosize>B<);>\n"
1405
1406 #. type: Plain text
1407 #: build/C/man3/rpc.3:511
1408 msgid ""
1409 "This routine creates an RPC client for the remote program I<prognum>, on "
1410 "I<versnum>; the client uses use UDP/IP as a transport.  The remote program "
1411 "is located at Internet address I<addr>.  If I<addr-E<gt>sin_port> is zero, "
1412 "then it is set to actual port that the remote program is listening on (the "
1413 "remote B<portmap> service is consulted for this information).  The parameter "
1414 "I<sockp> is a socket; if it is B<RPC_ANYSOCK>, then this routine opens a new "
1415 "one and sets I<sockp>.  The UDP transport resends the call message in "
1416 "intervals of I<wait> time until a response is received or until the call "
1417 "times out.  The total time for the call to time out is specified by "
1418 "B<clnt_call>()."
1419 msgstr ""
1420 "このルーティンはリモート・プログラム I<prognum>、 バージョン I<versnum> のた"
1421 "めの RPC クライアントを作成する。クライアントは通信に UDP/IP を使用する。リ"
1422 "モート・プログラムはインターネット・アドレスの I<*addr> にある。 I<addr-"
1423 "E<gt>sin_port> がゼロならば、実際にリモート・プログラムが listen しているポー"
1424 "トが設定される。(この情報のためにリモートの B<portmap> サービスが利用され"
1425 "る。) パラメーター I<sockp> はソケットである。もしこれが B<RPC_ANYSOCK> に設"
1426 "定されている場合は、このルーティンが新しいソケットをオープンして I<sockp> に"
1427 "設定する。 UDP 通信は回答があるか、時間切れが起こるまで B<wait> 間隔で呼び出"
1428 "しメッセージを再送する。時間切れが起こるまでの合計時間は B<clnt_call>()  で指"
1429 "定する。"
1430
1431 #. type: Plain text
1432 #: build/C/man3/rpc.3:514 build/C/man3/rpc.3:991
1433 msgid ""
1434 "This allows the user to specify the maximum packet size for sending and "
1435 "receiving UDP-based RPC messages."
1436 msgstr ""
1437 "これを使用すると UDP に基づいた RPC メッセージにおいて送信パケットや 受信パ"
1438 "ケットの最大サイズを指定することが可能になる。"
1439
1440 #. type: Plain text
1441 #: build/C/man3/rpc.3:517
1442 #, no-wrap
1443 msgid "B<void get_myaddress(struct sockaddr_in *>I<addr>B<);>\n"
1444 msgstr "B<void get_myaddress(struct sockaddr_in *>I<addr>B<);>\n"
1445
1446 #. type: Plain text
1447 #: build/C/man3/rpc.3:525
1448 msgid ""
1449 "Stuff the machine's IP address into I<*addr>, without consulting the library "
1450 "routines that deal with I</etc/hosts>.  The port number is always set to "
1451 "B<htons(PMAPPORT)>."
1452 msgstr ""
1453 "このマシンの IP アドレスを I<*addr> に格納する。 I</etc/hosts> を扱うライブラ"
1454 "リ・ルーティンは使用しない。ポート番号は常に B<htons(PMAPPORT)> に設定され"
1455 "る。"
1456
1457 #. type: Plain text
1458 #: build/C/man3/rpc.3:528
1459 #, no-wrap
1460 msgid "B<struct pmaplist *pmap_getmaps(struct sockaddr_in *>I<addr>B<);>\n"
1461 msgstr "B<struct pmaplist *pmap_getmaps(struct sockaddr_in *>I<addr>B<);>\n"
1462
1463 #. type: Plain text
1464 #: build/C/man3/rpc.3:539
1465 msgid ""
1466 "A user interface to the B<portmap> service, which returns a list of the "
1467 "current RPC program-to-port mappings on the host located at IP address "
1468 "I<*addr>.  This routine can return NULL.  The command I<rpcinfo\\ -p> uses "
1469 "this routine."
1470 msgstr ""
1471 "B<portmap> サービスのためのユーザインターフェースであり、 IP アドレス "
1472 "I<*addr> にあるホストの現在の RPC プログラムからポート番号へのマッピングの一"
1473 "覧を返す。 このルーティンが NULL を返す場合もある。 `B<rpcinfo -p>' コマンド"
1474 "はこのルーティンを使用している。"
1475
1476 #. type: Plain text
1477 #: build/C/man3/rpc.3:544
1478 #, no-wrap
1479 msgid ""
1480 "B<unsigned short pmap_getport(struct sockaddr_in *>I<addr>B<,>\n"
1481 "B<                    unsigned long >I<prognum>B<, unsigned long >I<versnum>B<,>\n"
1482 "B<                    unsigned int >I<protocol>B<);>\n"
1483 msgstr ""
1484 "B<unsigned short pmap_getport(struct sockaddr_in *>I<addr>B<,>\n"
1485 "B<                    unsigned long >I<prognum>B<, unsigned long >I<versnum>B<,>\n"
1486 "B<                    unsigned int >I<protocol>B<);>\n"
1487
1488 #. type: Plain text
1489 #: build/C/man3/rpc.3:568
1490 msgid ""
1491 "A user interface to the B<portmap> service, which returns the port number on "
1492 "which waits a service that supports program number I<prognum>, version "
1493 "I<versnum>, and speaks the transport protocol associated with I<protocol>.  "
1494 "The value of I<protocol> is most likely B<IPPROTO_UDP> or B<IPPROTO_TCP>.  A "
1495 "return value of zero means that the mapping does not exist or that the RPC "
1496 "system failed to contact the remote B<portmap> service.  In the latter case, "
1497 "the global variable I<rpc_createerr> contains the RPC status."
1498 msgstr ""
1499 "B<portmap> サービスのためのユーザ・インターフェースで、 プログラム番号 "
1500 "I<prognum>、 バージョン I<versnum>、 関連付けられた通信プロトコル "
1501 "I<protocol> をサポートするサービスが待っているポート番号を返す。 I<protocol> "
1502 "の値はほとんどの場合 IPPROTO_UDP か IPPROTO_TCP である。 返り値ゼロはマッピン"
1503 "グが存在しないか、 RPC システムがリモートの B<portmap> サービスの参照に失敗し"
1504 "たことを意味する。後者の場合は大域変数 I<rpc_createerr> が RPC 状態を保持して"
1505 "いる。"
1506
1507 #. type: Plain text
1508 #: build/C/man3/rpc.3:576
1509 #, no-wrap
1510 msgid ""
1511 "B<enum clnt_stat pmap_rmtcall(struct sockaddr_in *>I<addr>B<,>\n"
1512 "B<                    unsigned long >I<prognum>B<, unsigned long >I<versnum>B<,>\n"
1513 "B<                    unsigned long >I<procnum>B<,>\n"
1514 "B<                    xdrproc_t >I<inproc>B<, char *>I<in>B<,>\n"
1515 "B<                    xdrproc_t >I<outproc>B<, char *>I<out>B<,>\n"
1516 "B<                    struct timeval >I<tout>B<, unsigned long *>I<portp>B<);>\n"
1517 msgstr ""
1518 "B<enum clnt_stat pmap_rmtcall(struct sockaddr_in *>I<addr>B<,>\n"
1519 "B<                    unsigned long >I<prognum>B<, unsigned long >I<versnum>B<,>\n"
1520 "B<                    unsigned long >I<procnum>B<,>\n"
1521 "B<                    xdrproc_t >I<inproc>B<, char *>I<in>B<,>\n"
1522 "B<                    xdrproc_t >I<outproc>B<, char *>I<out>B<,>\n"
1523 "B<                    struct timeval >I<tout>B<, unsigned long *>I<portp>B<);>\n"
1524
1525 #. type: Plain text
1526 #: build/C/man3/rpc.3:596
1527 msgid ""
1528 "A user interface to the B<portmap> service, which instructs B<portmap> on "
1529 "the host at IP address I<*addr> to make an RPC call on your behalf to a "
1530 "procedure on that host.  The parameter I<*portp> will be modified to the "
1531 "program's port number if the procedure succeeds.  The definitions of other "
1532 "parameters are discussed in B<callrpc>()  and B<clnt_call>().  This "
1533 "procedure should be used for a \\(lqping\\(rq and nothing else.  See also "
1534 "B<clnt_broadcast>()."
1535 msgstr ""
1536 "B<portmap> サービスのためのユーザ・インターフェースで、 IP アドレス I<*addr> "
1537 "のホストの B<portmap> を参照して、 RPC 呼び出しを生成し、そのホスト上のプロシ"
1538 "ジャを呼び出す。 パラメーター I<*portp> はプロシジャが成功した場合にはプログ"
1539 "ラムのポート番号に修正される。 他のパラメーターの定義については B<callrpc>"
1540 "()  や B<clnt_call>()  で説明してある。 このプロシジャは \\(lqping\\(rq のみ"
1541 "に使用すべきである。 B<clnt_broadcast>()  も参照すること。"
1542
1543 #. type: Plain text
1544 #: build/C/man3/rpc.3:600
1545 #, no-wrap
1546 msgid ""
1547 "B<bool_t pmap_set(unsigned long >I<prognum>B<, unsigned long >I<versnum>B<,>\n"
1548 "B<                unsigned int >I<protocol>B<, unsigned short >I<port>B<);>\n"
1549 msgstr ""
1550 "B<bool_t pmap_set(unsigned long >I<prognum>B<, unsigned long >I<versnum>B<,>\n"
1551 "B<                unsigned int >I<protocol>B<, unsigned short >I<port>B<);>\n"
1552
1553 #. type: Plain text
1554 #: build/C/man3/rpc.3:620
1555 msgid ""
1556 "A user interface to the B<portmap> service, which establishes a mapping "
1557 "between the triple [I<prognum>,I<versnum>,I<protocol>] and I<port> on the "
1558 "machine's B<portmap> service.  The value of I<protocol> is most likely "
1559 "B<IPPROTO_UDP> or B<IPPROTO_TCP>.  This routine returns one if it succeeds, "
1560 "zero otherwise.  Automatically done by B<svc_register>()."
1561 msgstr ""
1562 "B<portmap> サービスのためのユーザ・インターフェースで、 [I<prognum>,"
1563 "I<versnum>,I<protocol>] の組み合わせと I<port> との間のマッピングを、そのマシ"
1564 "ン上の B<portmap> サービスに登録する。 I<protocol> はほとんどの場合 "
1565 "B<IPPROTO_UDP> か B<IPPROTO_TCP> のどちらかである。 このルーティンは成功した"
1566 "場合には 1 を返す。失敗した場合にはゼロを返す。 B<svc_register>()  によって自"
1567 "動的に実行される。"
1568
1569 #. type: Plain text
1570 #: build/C/man3/rpc.3:623
1571 #, no-wrap
1572 msgid "B<bool_t pmap_unset(unsigned long >I<prognum>B<, unsigned long >I<versnum>B<);>\n"
1573 msgstr "B<bool_t pmap_unset(unsigned long >I<prognum>B<, unsigned long >I<versnum>B<);>\n"
1574
1575 #. type: Plain text
1576 #: build/C/man3/rpc.3:635
1577 msgid ""
1578 "A user interface to the B<portmap> service, which destroys all mapping "
1579 "between the triple [I<prognum>,I<versnum>,I<*>] and B<ports> on the "
1580 "machine's B<portmap> service.  This routine returns one if it succeeds, zero "
1581 "otherwise."
1582 msgstr ""
1583 "B<portmap> サービスのためのユーザ・インターフェースで、 [I<prognum>,"
1584 "I<versnum>,I<*>] の組み合わせと B<ports> の間のマッピングをそのマシン上の "
1585 "B<portmap> サービスから削除する。このルーティンは成功した場合は 1 を返す。 失"
1586 "敗した場合には 0 を返す。"
1587
1588 #. type: Plain text
1589 #: build/C/man3/rpc.3:640
1590 #, no-wrap
1591 msgid ""
1592 "B<int registerrpc(unsigned long >I<prognum>B<, unsigned long >I<versnum>B<,>\n"
1593 "B<                unsigned long >I<procnum>B<, char *(*>I<procname>B<)(char *),>\n"
1594 "B<                xdrproc_t >I<inproc>B<, xdrproc_t >I<outproc>B<);>\n"
1595 msgstr ""
1596 "B<int registerrpc(unsigned long >I<prognum>B<, unsigned long >I<versnum>B<,>\n"
1597 "B<                unsigned long >I<procnum>B<, char *(*>I<procname>B<)(char *),>\n"
1598 "B<                xdrproc_t >I<inproc>B<, xdrproc_t >I<outproc>B<);>\n"
1599
1600 #. type: Plain text
1601 #: build/C/man3/rpc.3:660
1602 msgid ""
1603 "Register procedure I<procname> with the RPC service package.  If a request "
1604 "arrives for program I<prognum>, version I<versnum>, and procedure "
1605 "I<procnum>, I<procname> is called with a pointer to its parameter(s); "
1606 "I<progname> should return a pointer to its static result(s); I<inproc> is "
1607 "used to decode the parameters while I<outproc> is used to encode the "
1608 "results.  This routine returns zero if the registration succeeded, -1 "
1609 "otherwise."
1610 msgstr ""
1611 "RPC サービスパッケージを使用して I<procname> プロシジャを登録する。プログラ"
1612 "ム I<prognum>、 バージョン I<versnum>、 プロシジャ I<procnum> への要求が届い"
1613 "た場合、 I<procname> がパラメーターへのポインターを持って呼び出される。 "
1614 "I<progname> は静的な結果へのポインターを返す必要がある。 I<inproc> はパラメー"
1615 "ターをデコードするために使用される。 I<outproc> は結果をエンコードするために"
1616 "使用される。 このルーティンは登録に成功した場合にはゼロを返す。 失敗した場合"
1617 "には -1 を返す。"
1618
1619 #. type: Plain text
1620 #: build/C/man3/rpc.3:665
1621 msgid ""
1622 "Warning: remote procedures registered in this form are accessed using the "
1623 "UDP/IP transport; see B<svcudp_create>()  for restrictions."
1624 msgstr ""
1625 "警告: この形式で登録されたリモート・プロシジャは UDP/IP 通信を使用する。制限"
1626 "に関しては B<svcudp_create>()  を参照すること。"
1627
1628 #. type: Plain text
1629 #: build/C/man3/rpc.3:668
1630 #, no-wrap
1631 msgid "B<struct rpc_createerr >I<rpc_createerr>B<;>\n"
1632 msgstr "B<struct rpc_createerr >I<rpc_createerr>B<;>\n"
1633
1634 #. type: Plain text
1635 #: build/C/man3/rpc.3:675
1636 msgid ""
1637 "A global variable whose value is set by any RPC client creation routine that "
1638 "does not succeed.  Use the routine B<clnt_pcreateerror>()  to print the "
1639 "reason why."
1640 msgstr ""
1641 "成功しなかった RPC クライアント生成ルーティンによって設定される大域変数。 "
1642 "B<clnt_pcreateerror>()  ルーティンが理由を表示するために使用する。"
1643
1644 #. type: Plain text
1645 #: build/C/man3/rpc.3:678
1646 #, no-wrap
1647 msgid "B<void svc_destroy(SVCXPRT *>I<xprt>B<);>\n"
1648 msgstr "B<void svc_destroy(SVCXPRT *>I<xprt>B<);>\n"
1649
1650 #. type: Plain text
1651 #: build/C/man3/rpc.3:689
1652 msgid ""
1653 "A macro that destroys the RPC service transport handle, I<xprt>.  "
1654 "Destruction usually involves deallocation of private data structures, "
1655 "including I<xprt> itself.  Use of I<xprt> is undefined after calling this "
1656 "routine."
1657 msgstr ""
1658 "このマクロは通信ハンドル I<xprt> の RPC サービスを破壊する。破壊には通常、 "
1659 "I<xprt> を含めて、私的なデータ構造体の破棄が含まれている。 このルーティンを呼"
1660 "び出した後に I<xprt> を使用することは未定義である。"
1661
1662 #. type: Plain text
1663 #: build/C/man3/rpc.3:692
1664 #, no-wrap
1665 msgid "B<fd_set >I<svc_fdset>B<;>\n"
1666 msgstr "B<fd_set >I<svc_fdset>B<;>\n"
1667
1668 #. type: Plain text
1669 #: build/C/man3/rpc.3:706
1670 msgid ""
1671 "A global variable reflecting the RPC service side's read file descriptor bit "
1672 "mask; it is suitable as a parameter to the B<select>(2)  system call.  This "
1673 "is only of interest if a service implementor does not call B<svc_run>(), but "
1674 "rather does his own asynchronous event processing.  This variable is read-"
1675 "only (do not pass its address to B<select>(2)!), yet it may change after "
1676 "calls to B<svc_getreqset>()  or any creation routines."
1677 msgstr ""
1678 "RPC サービス側のファイル・ディスクリプターのビットマスクを反映した大域変数。 "
1679 "B<select>(2)  システムコールのパラメーターのために利用できる。これは サービス"
1680 "の実装者が B<svc_run>()  を呼び出さなずに、独自の非同期イベント処理を用いる場"
1681 "合にのみ意味がある。 この変数は読み込み専用で (そのまま B<select>(2)  へ渡し"
1682 "てはならない!)、 B<svc_getreqset>()  呼び出しや生成ルーティンの後に変更されて"
1683 "いるかもしれない。"
1684
1685 #. type: Plain text
1686 #: build/C/man3/rpc.3:709
1687 #, no-wrap
1688 msgid "B<int >I<svc_fds>B<;>\n"
1689 msgstr "B<int >I<svc_fds>B<;>\n"
1690
1691 #. type: Plain text
1692 #: build/C/man3/rpc.3:716
1693 msgid ""
1694 "Similar to B<svc_fdset>, but limited to 32 descriptors.  This interface is "
1695 "obsoleted by B<svc_fdset>."
1696 msgstr ""
1697 "B<svc_fdset> に似ているが、32 ディスクリプターに制限されている。 このインター"
1698 "フェースは B<svc_fdset> によって置き換えられた。"
1699
1700 #. type: Plain text
1701 #: build/C/man3/rpc.3:719
1702 #, no-wrap
1703 msgid "B<svc_freeargs(SVCXPRT *>I<xprt>B<, xdrproc_t >I<inproc>B<, char *>I<in>B<);>\n"
1704 msgstr "B<svc_freeargs(SVCXPRT *>I<xprt>B<, xdrproc_t >I<inproc>B<, char *>I<in>B<);>\n"
1705
1706 #. type: Plain text
1707 #: build/C/man3/rpc.3:726
1708 msgid ""
1709 "A macro that frees any data allocated by the RPC/XDR system when it decoded "
1710 "the arguments to a service procedure using B<svc_getargs>().  This routine "
1711 "returns 1 if the results were successfully freed, and zero otherwise."
1712 msgstr ""
1713 "このマクロはサービス・プロシジャが B<svc_getargs>()  を使用して引き数をデコー"
1714 "ドした時に RPC/XDR システムによって割り当てられたデータを解放する。 このルー"
1715 "ティンは解放に成功した場合には 1 を返す。 失敗した場合にはゼロを返す。"
1716
1717 #. type: Plain text
1718 #: build/C/man3/rpc.3:729
1719 #, no-wrap
1720 msgid "B<svc_getargs(SVCXPRT *>I<xprt>B<, xdrproc_t >I<inproc>B<, char *>I<in>B<);>\n"
1721 msgstr "B<svc_getargs(SVCXPRT *>I<xprt>B<, xdrproc_t >I<inproc>B<, char *>I<in>B<);>\n"
1722
1723 #. type: Plain text
1724 #: build/C/man3/rpc.3:740
1725 msgid ""
1726 "A macro that decodes the arguments of an RPC request associated with the RPC "
1727 "service transport handle, I<xprt>.  The parameter I<in> is the address where "
1728 "the arguments will be placed; I<inproc> is the XDR routine used to decode "
1729 "the arguments.  This routine returns one if decoding succeeds, and zero "
1730 "otherwise."
1731 msgstr ""
1732 "このマクロは RPC サービス通信ハンドル I<xprt> に関連付けられた RPC 要求の引き"
1733 "数をデコードする。パラメーター I<in> は引き数の格納されたアドレスである。 "
1734 "I<inproc> は引き数をデコードするための XDR ルーティンである。 このルーティン"
1735 "はデコードに成功した場合は 1 を返す。 失敗した場合はゼロを返す。"
1736
1737 #. type: Plain text
1738 #: build/C/man3/rpc.3:743
1739 #, no-wrap
1740 msgid "B<struct sockaddr_in *svc_getcaller(SVCXPRT *>I<xprt>B<);>\n"
1741 msgstr "B<struct sockaddr_in *svc_getcaller(SVCXPRT *>I<xprt>B<);>\n"
1742
1743 #. type: Plain text
1744 #: build/C/man3/rpc.3:748
1745 msgid ""
1746 "The approved way of getting the network address of the caller of a procedure "
1747 "associated with the RPC service transport handle, I<xprt>."
1748 msgstr ""
1749 "RPC サービス通信ハンドル I<xprt> に関連付けられたプロシジャの呼び出し元のネッ"
1750 "トワーク・アドレスを 取得するための標準的な手段。"
1751
1752 #. type: Plain text
1753 #: build/C/man3/rpc.3:751
1754 #, no-wrap
1755 msgid "B<void svc_getreqset(fd_set *>I<rdfds>B<);>\n"
1756 msgstr "B<void svc_getreqset(fd_set *>I<rdfds>B<);>\n"
1757
1758 #. type: Plain text
1759 #: build/C/man3/rpc.3:765
1760 msgid ""
1761 "This routine is only of interest if a service implementor does not call "
1762 "B<svc_run>(), but instead implements custom asynchronous event processing.  "
1763 "It is called when the B<select>(2)  system call has determined that an RPC "
1764 "request has arrived on some RPC socket(s); I<rdfds> is the resultant read "
1765 "file descriptor bit mask.  The routine returns when all sockets associated "
1766 "with the value of I<rdfds> have been serviced."
1767 msgstr ""
1768 "このルーティンはサービスの実装者が B<svc_run>()  を呼び出さず、独自の非同期イ"
1769 "ベント処理を実装する場合にのみ意味がある。 これは B<select>(2)  システムコー"
1770 "ルが RPC ソケットに RPC 要求が到着したと返した場合にのみ呼び出される。 "
1771 "I<rdfds> は結果の読み込みファイル・ディスクリプターのビットマスクである。 こ"
1772 "のルーティンは I<rdfds> の値に関連付けられた全てのソケットのサービスが行なわ"
1773 "れた時に 返ってくる。"
1774
1775 #. type: Plain text
1776 #: build/C/man3/rpc.3:768
1777 #, no-wrap
1778 msgid "B<void svc_getreq(int >I<rdfds>B<);>\n"
1779 msgstr "B<void svc_getreq(int >I<rdfds>B<);>\n"
1780
1781 #. type: Plain text
1782 #: build/C/man3/rpc.3:775
1783 msgid ""
1784 "Similar to B<svc_getreqset>(), but limited to 32 descriptors.  This "
1785 "interface is obsoleted by B<svc_getreqset>()."
1786 msgstr ""
1787 "B<svc_getreqset>()  に似ているがディスクリプターの数が 32 に制限されている。 "
1788 "このインターフェースは B<svc_getreqset>()  によって置き換えられた。"
1789
1790 #. type: Plain text
1791 #: build/C/man3/rpc.3:781
1792 #, no-wrap
1793 msgid ""
1794 "B<bool_t svc_register(SVCXPRT *>I<xprt>B<, unsigned long >I<prognum>B<,>\n"
1795 "B<                    unsigned long >I<versnum>B<,>\n"
1796 "B<                    void (*>I<dispatch>B<)(svc_req *, SVCXPRT *),>\n"
1797 "B<                    unsigned long >I<protocol>B<);>\n"
1798 msgstr ""
1799 "B<bool_t svc_register(SVCXPRT *>I<xprt>B<, unsigned long >I<prognum>B<,>\n"
1800 "B<                    unsigned long >I<versnum>B<,>\n"
1801 "B<                    void (*>I<dispatch>B<)(svc_req *, SVCXPRT *),>\n"
1802 "B<                    unsigned long >I<protocol>B<);>\n"
1803
1804 #. type: Plain text
1805 #: build/C/man3/rpc.3:811
1806 msgid ""
1807 "Associates I<prognum> and I<versnum> with the service dispatch procedure, "
1808 "I<dispatch>.  If I<protocol> is zero, the service is not registered with the "
1809 "B<portmap> service.  If I<protocol> is nonzero, then a mapping of the triple "
1810 "[I<prognum>,I<versnum>,I<protocol>] to I<xprt-E<gt>xp_port> is established "
1811 "with the local B<portmap> service (generally I<protocol> is zero, "
1812 "B<IPPROTO_UDP> or B<IPPROTO_TCP>).  The procedure I<dispatch> has the "
1813 "following form:"
1814 msgstr ""
1815 "I<prognum> と I<versnum> をサービス配分プロシジャ I<dispatch> で関連付ける。 "
1816 "I<protocol> がゼロの場合、サービスは B<portmap> サービスには登録されない。 "
1817 "I<protocol> がゼロ以外の場合、 [I<prognum>,I<versnum>,I<protocol>] の組み合わ"
1818 "せと I<xprt-E<gt>xp_port> とのマッピングがローカルの B<portmap> サービスに登"
1819 "録される。(一般的に I<protocol> はゼロ、 B<IPPROTO_UDP>、 B<IPPROTO_TCP> のど"
1820 "れかである。)  プロシジャ I<dispatch> は以下の形式である:"
1821
1822 #. type: Plain text
1823 #: build/C/man3/rpc.3:815
1824 #, no-wrap
1825 msgid "dispatch(struct svc_req *request, SVCXPRT *xprt);\n"
1826 msgstr "dispatch(struct svc_req *request, SVCXPRT *xprt);\n"
1827
1828 #. type: Plain text
1829 #: build/C/man3/rpc.3:821
1830 msgid ""
1831 "The B<svc_register>()  routine returns one if it succeeds, and zero "
1832 "otherwise."
1833 msgstr ""
1834 "B<svc_register>()  ルーティンは成功した場合は 1 を返す。失敗した場合はゼロを"
1835 "返す。"
1836
1837 #. type: Plain text
1838 #: build/C/man3/rpc.3:824
1839 #, no-wrap
1840 msgid "B<void svc_run(void);>\n"
1841 msgstr "B<void svc_run(void);>\n"
1842
1843 #. type: Plain text
1844 #: build/C/man3/rpc.3:834
1845 msgid ""
1846 "This routine never returns.  It waits for RPC requests to arrive, and calls "
1847 "the appropriate service procedure using B<svc_getreq>()  when one arrives.  "
1848 "This procedure is usually waiting for a B<select>(2)  system call to return."
1849 msgstr ""
1850 "このルーティンは戻ってこない。これは E<.SM RPC> 要求の到着を待ち、どれかが届"
1851 "いた場合に B<svc_getreq>()  を使用して適切なサービス・プロシジャを呼び出す。 "
1852 "このプロシジャは通常は B<select>(2)  システムコールから返るのを待っている。"
1853
1854 #. type: Plain text
1855 #: build/C/man3/rpc.3:838
1856 #, no-wrap
1857 msgid "B<bool_t svc_sendreply(SVCXPRT *>I<xprt>B<, xdrproc_t >I<outproc>B<, char *>I<out>B<);>\n"
1858 msgstr "B<bool_t svc_sendreply(SVCXPRT *>I<xprt>B<, xdrproc_t >I<outproc>B<, char *>I<out>B<);>\n"
1859
1860 #. type: Plain text
1861 #: build/C/man3/rpc.3:850
1862 msgid ""
1863 "Called by an RPC service's dispatch routine to send the results of a remote "
1864 "procedure call.  The parameter I<xprt> is the request's associated transport "
1865 "handle; I<outproc> is the XDR routine which is used to encode the results; "
1866 "and I<out> is the address of the results.  This routine returns one if it "
1867 "succeeds, zero otherwise."
1868 msgstr ""
1869 "RPC サービス配分ルーティンによってリモート・プロシジャ・コールの結果を 返すた"
1870 "めに呼び出される。 パラメーター I<xprt> はその要求に関連付けられた通信ハンド"
1871 "ルである。 I<outproc> は結果をエンコードするために使用する XDR ルーティンであ"
1872 "る。 I<out> は結果のアドレスである。このルーティンは成功した場合は 1 を返"
1873 "す。 失敗した場合はゼロを返す。"
1874
1875 #. type: Plain text
1876 #: build/C/man3/rpc.3:853
1877 #, no-wrap
1878 msgid "B<void svc_unregister(unsigned long >I<prognum>B<, unsigned long >I<versnum>B<);>\n"
1879 msgstr "B<void svc_unregister(unsigned long >I<prognum>B<, unsigned long >I<versnum>B<);>\n"
1880
1881 #. type: Plain text
1882 #: build/C/man3/rpc.3:860
1883 msgid ""
1884 "Remove all mapping of the double [I<prognum>,I<versnum>] to dispatch "
1885 "routines, and of the triple [I<prognum>,I<versnum>,I<*>] to port number."
1886 msgstr ""
1887 "配分ルーティンから [I<prognum>,I<versnum>] および [I<prognum>,I<versnum>,"
1888 "I<*>] の組み合わせからポート番号へのマッピングを全て削除する。"
1889
1890 #. type: Plain text
1891 #: build/C/man3/rpc.3:863
1892 #, no-wrap
1893 msgid "B<void svcerr_auth(SVCXPRT *>I<xprt>B<, enum auth_stat >I<why>B<);>\n"
1894 msgstr "B<void svcerr_auth(SVCXPRT *>I<xprt>B<, enum auth_stat >I<why>B<);>\n"
1895
1896 #. type: Plain text
1897 #: build/C/man3/rpc.3:867
1898 msgid ""
1899 "Called by a service dispatch routine that refuses to perform a remote "
1900 "procedure call due to an authentication error."
1901 msgstr ""
1902 "認証エラーによりリモート・プロシジャ・コールの実行を拒否された 場合にサービス"
1903 "配分ルーティンによって呼び出される。"
1904
1905 #. type: Plain text
1906 #: build/C/man3/rpc.3:870
1907 #, no-wrap
1908 msgid "B<void svcerr_decode(SVCXPRT *>I<xprt>B<);>\n"
1909 msgstr "B<void svcerr_decode(SVCXPRT *>I<xprt>B<);>\n"
1910
1911 #. type: Plain text
1912 #: build/C/man3/rpc.3:876
1913 msgid ""
1914 "Called by a service dispatch routine that cannot successfully decode its "
1915 "parameters.  See also B<svc_getargs>()."
1916 msgstr ""
1917 "パラメータのデコードに失敗した場合に サービス配分ルーティンによって呼び出され"
1918 "る。 B<svc_getargs>()  も参照すること。"
1919
1920 #. type: Plain text
1921 #: build/C/man3/rpc.3:879
1922 #, no-wrap
1923 msgid "B<void svcerr_noproc(SVCXPRT *>I<xprt>B<);>\n"
1924 msgstr "B<void svcerr_noproc(SVCXPRT *>I<xprt>B<);>\n"
1925
1926 #. type: Plain text
1927 #: build/C/man3/rpc.3:883
1928 msgid ""
1929 "Called by a service dispatch routine that does not implement the procedure "
1930 "number that the caller requests."
1931 msgstr ""
1932 "要求のあったプロシジャ番号が実装されていない場合に サービス配分ルーティンより"
1933 "呼び出される。"
1934
1935 #. type: Plain text
1936 #: build/C/man3/rpc.3:886
1937 #, no-wrap
1938 msgid "B<void svcerr_noprog(SVCXPRT *>I<xprt>B<);>\n"
1939 msgstr "B<void svcerr_noprog(SVCXPRT *>I<xprt>B<);>\n"
1940
1941 #. type: Plain text
1942 #: build/C/man3/rpc.3:890
1943 msgid ""
1944 "Called when the desired program is not registered with the RPC package.  "
1945 "Service implementors usually do not need this routine."
1946 msgstr ""
1947 "RPC パッケージに要求されたプログラムが登録されていない場合に呼び出される。 "
1948 "サービスの実装には通常、このルーティンは必要ない。"
1949
1950 #. type: Plain text
1951 #: build/C/man3/rpc.3:893
1952 #, no-wrap
1953 msgid "B<void svcerr_progvers(SVCXPRT *>I<xprt>B<);>\n"
1954 msgstr "B<void svcerr_progvers(SVCXPRT *>I<xprt>B<);>\n"
1955
1956 #. type: Plain text
1957 #: build/C/man3/rpc.3:898
1958 msgid ""
1959 "Called when the desired version of a program is not registered with the RPC "
1960 "package.  Service implementors usually do not need this routine."
1961 msgstr ""
1962 "RPC パッケージに要求されたバージョンのプログラムが登録されていない場合に 呼び"
1963 "出される。サービスの実装には通常、このルーティンは必要ない。"
1964
1965 #. type: Plain text
1966 #: build/C/man3/rpc.3:901
1967 #, no-wrap
1968 msgid "B<void svcerr_systemerr(SVCXPRT *>I<xprt>B<);>\n"
1969 msgstr "B<void svcerr_systemerr(SVCXPRT *>I<xprt>B<);>\n"
1970
1971 #. type: Plain text
1972 #: build/C/man3/rpc.3:907
1973 msgid ""
1974 "Called by a service dispatch routine when it detects a system error not "
1975 "covered by any particular protocol.  For example, if a service can no longer "
1976 "allocate storage, it may call this routine."
1977 msgstr ""
1978 "特定のプロトコルによってカバーされていなシステム・エラーが 検出された場合に"
1979 "サービス配分ルーティンによって呼び出される。 例えば、サービスがそれ以上、記憶"
1980 "装置を割り当てることができない場合には このルーティンが呼び出されるかもしれな"
1981 "い。"
1982
1983 #. type: Plain text
1984 #: build/C/man3/rpc.3:910
1985 #, no-wrap
1986 msgid "B<void svcerr_weakauth(SVCXPRT *>I<xprt>B<);>\n"
1987 msgstr "B<void svcerr_weakauth(SVCXPRT *>I<xprt>B<);>\n"
1988
1989 #. type: Plain text
1990 #: build/C/man3/rpc.3:916
1991 msgid ""
1992 "Called by a service dispatch routine that refuses to perform a remote "
1993 "procedure call due to insufficient authentication parameters.  The routine "
1994 "calls B<svcerr_auth(xprt, AUTH_TOOWEAK)>."
1995 msgstr ""
1996 "認証パラメータが足りないためにリモート・プロシジャ・コールの実行を 拒否された"
1997 "場合にサービス配分ルーティンによって呼び出される。 このルーティンは "
1998 "B<svcerr_auth(xprt, AUTH_TOOWEAK)> を呼び出す。"
1999
2000 #. type: Plain text
2001 #: build/C/man3/rpc.3:920
2002 #, no-wrap
2003 msgid ""
2004 "B<SVCXPRT *svcfd_create(int >I<fd>B<, unsigned int >I<sendsize>B<,>\n"
2005 "B<                      unsigned int >I<recvsize>B<);>\n"
2006 msgstr ""
2007 "B<SVCXPRT *svcfd_create(int >I<fd>B<, unsigned int >I<sendsize>B<,>\n"
2008 "B<                      unsigned int >I<recvsize>B<);>\n"
2009
2010 #. type: Plain text
2011 #: build/C/man3/rpc.3:930
2012 msgid ""
2013 "Create a service on top of any open descriptor.  Typically, this descriptor "
2014 "is a connected socket for a stream protocol such as TCP.  I<sendsize> and "
2015 "I<recvsize> indicate sizes for the send and receive buffers.  If they are "
2016 "zero, a reasonable default is chosen."
2017 msgstr ""
2018 "任意のオープンされたディスクリプター上にサービスを作成する。 典型的に、ディス"
2019 "クリプターは TCP のようなストリーム・プロトコルで接続されたソケットである。 "
2020 "I<sendsize> と I<recvsize> には送信バッファと受信バッファの大きさを指定する。"
2021 "もしゼロが指定された 場合は適切なデフォルトが選択される。"
2022
2023 #. type: Plain text
2024 #: build/C/man3/rpc.3:933
2025 #, no-wrap
2026 msgid "B<SVCXPRT *svcraw_create(void);>\n"
2027 msgstr "B<SVCXPRT *svcraw_create(void);>\n"
2028
2029 #. type: Plain text
2030 #: build/C/man3/rpc.3:943
2031 msgid ""
2032 "This routine creates a toy RPC service transport, to which it returns a "
2033 "pointer.  The transport is really a buffer within the process's address "
2034 "space, so the corresponding RPC client should live in the same address "
2035 "space; see B<clntraw_create>().  This routine allows simulation of RPC and "
2036 "acquisition of RPC overheads (such as round trip times), without any kernel "
2037 "interference.  This routine returns NULL if it fails."
2038 msgstr ""
2039 "このルーティンは擬似 RPC サービス通信を生成して、そのポインターを返す。 通信"
2040 "は実際にはそのプロセスのアドレス空間にあるバッファなので 対応する RPC クライ"
2041 "アントは同じアドレス空間にいる必要がある。 B<clntraw_create>()  を参照するこ"
2042 "と。 このルーティンで RPC のシミュレーションや、カーネル・インターフェースに"
2043 "影響されずに応答時間などの RPC オーバヘッドを取得ができる。このルーティンは失"
2044 "敗した場合は NULL を返す。"
2045
2046 #. type: Plain text
2047 #: build/C/man3/rpc.3:947
2048 #, no-wrap
2049 msgid ""
2050 "B<SVCXPRT *svctcp_create(int >I<sock>B<, unsigned int >I<send_buf_size>B<,>\n"
2051 "B<                       unsigned int >I<recv_buf_size>B<);>\n"
2052 msgstr ""
2053 "B<SVCXPRT *svctcp_create(int >I<sock>B<, unsigned int >I<send_buf_size>B<,>\n"
2054 "B<                       unsigned int >I<recv_buf_size>B<);>\n"
2055
2056 #. type: Plain text
2057 #: build/C/man3/rpc.3:967
2058 msgid ""
2059 "This routine creates a TCP/IP-based RPC service transport, to which it "
2060 "returns a pointer.  The transport is associated with the socket I<sock>, "
2061 "which may be B<RPC_ANYSOCK>, in which case a new socket is created.  If the "
2062 "socket is not bound to a local TCP port, then this routine binds it to an "
2063 "arbitrary port.  Upon completion, I<xprt-E<gt>xp_sock> is the transport's "
2064 "socket descriptor, and I<xprt-E<gt>xp_port> is the transport's port number.  "
2065 "This routine returns NULL if it fails.  Since TCP-based RPC uses buffered I/"
2066 "O, users may specify the size of buffers; values of zero choose suitable "
2067 "defaults."
2068 msgstr ""
2069 "このルーティンは TCP/IP に基づく RPC サービス通信を作成し、それへのポインター"
2070 "を返す。 通信はソケット I<sock> に結びつけられる。 I<sock> は B<RPC_ANYSOCK> "
2071 "でも良い。この場合は新しいソケットが作成される。 もしソケットがローカルな "
2072 "TCP ポートに bind されていない場合は、 このルーティンが適当なポートに bind す"
2073 "る。 補完された場合、I<xprt-E<gt>xp_sock> には通信のソケット・ ディスクリプ"
2074 "ターが、I<xprt-E<gt>xp_port> には通信のポート番号が 設定される。 このルーティ"
2075 "ンは失敗した場合は NULL を返す。 TCP に基づいた RPC はバッファされた I/O を使"
2076 "用するため、 ユーザはバッファの大きさを指定できる。 ゼロを指定した場合は適切"
2077 "なデフォルトが選択される。"
2078
2079 #. type: Plain text
2080 #: build/C/man3/rpc.3:971
2081 #, no-wrap
2082 msgid ""
2083 "B<SVCXPRT *svcudp_bufcreate(int >I<sock>B<, unsigned int >I<sendsize>B<,>\n"
2084 "B<                          unsigned int >I<recosize>B<);>\n"
2085 msgstr ""
2086 "B<SVCXPRT *svcudp_bufcreate(int >I<sock>B<, unsigned int >I<sendsize>B<,>\n"
2087 "B<                          unsigned int >I<recosize>B<);>\n"
2088
2089 #. type: Plain text
2090 #: build/C/man3/rpc.3:988
2091 msgid ""
2092 "This routine creates a UDP/IP-based RPC service transport, to which it "
2093 "returns a pointer.  The transport is associated with the socket I<sock>, "
2094 "which may be B<RPC_ANYSOCK>, in which case a new socket is created.  If the "
2095 "socket is not bound to a local UDP port, then this routine binds it to an "
2096 "arbitrary port.  Upon completion, I<xprt-E<gt>xp_sock> is the transport's "
2097 "socket descriptor, and I<xprt-E<gt>xp_port> is the transport's port number.  "
2098 "This routine returns NULL if it fails."
2099 msgstr ""
2100 "このルーティンは UDP/IP に基づいた RPC サービス通信を作成し、 そのポインター"
2101 "を返す。通信はソケット I<sock> に関連付けられる。 I<sock> は B<RPC_ANYSOCK> "
2102 "でも良い。この場合は新しいソケットが作成される。 ソケットがローカルの UDP "
2103 "ポートに bind されていない場合には このルーティンは適当なポートに bind す"
2104 "る。 補完された場合、I<xprt-E<gt>xp_sock> に通信のソケットの ディスクリプター"
2105 "が、I<xprt-E<gt>xp_port> に通信のポート番号が 設定される。このルーティンは失"
2106 "敗した場合には NULL を返す。"
2107
2108 #. type: Plain text
2109 #: build/C/man3/rpc.3:994
2110 #, no-wrap
2111 msgid "B<SVCXPRT *svcudp_create(int >I<sock>B<);>\n"
2112 msgstr "B<SVCXPRT *svcudp_create(int >I<sock>B<);>\n"
2113
2114 #. type: Plain text
2115 #: build/C/man3/rpc.3:999
2116 msgid ""
2117 "This call is equivalent to I<svcudp_bufcreate(sock,SZ,SZ)> for some default "
2118 "size I<SZ>."
2119 msgstr ""
2120 "送信パケットと受信パケットのサイズを同じデフォルトの値 I<SZ> に指定した "
2121 "I<svcudp_bufcreate(sock,SZ,SZ)> と等価である。"
2122
2123 #. type: Plain text
2124 #: build/C/man3/rpc.3:1002
2125 #, no-wrap
2126 msgid "B<bool_t xdr_accepted_reply(XDR *>I<xdrs>B<, struct accepted_reply *>I<ar>B<);>\n"
2127 msgstr "B<bool_t xdr_accepted_reply(XDR *>I<xdrs>B<, struct accepted_reply *>I<ar>B<);>\n"
2128
2129 #. type: Plain text
2130 #: build/C/man3/rpc.3:1007
2131 msgid ""
2132 "Used for encoding RPC reply messages.  This routine is useful for users who "
2133 "wish to generate RPC-style messages without using the RPC package."
2134 msgstr ""
2135 "RPC 応答メッセージをエンコードするのに使用する。このルーティンは RPC パッケー"
2136 "ジを用いずに RPC-形式のメッセージを作成しようとする場合に便利である。"
2137
2138 #. type: Plain text
2139 #: build/C/man3/rpc.3:1010
2140 #, no-wrap
2141 msgid "B<bool_t xdr_authunix_parms(XDR *>I<xdrs>B<, struct authunix_parms *>I<aupp>B<);>\n"
2142 msgstr "B<bool_t xdr_authunix_parms(XDR *>I<xdrs>B<, struct authunix_parms *>I<aupp>B<);>\n"
2143
2144 #. type: Plain text
2145 #: build/C/man3/rpc.3:1016
2146 msgid ""
2147 "Used for describing UNIX credentials.  This routine is useful for users who "
2148 "wish to generate these credentials without using the RPC authentication "
2149 "package."
2150 msgstr ""
2151 "UNIX 形式の証明書を記述するために使用する。このルーティンは RPC 認証パッケー"
2152 "ジを使用せずにこれらの証明書を作成しようとする場合に便利である。"
2153
2154 #. type: Plain text
2155 #: build/C/man3/rpc.3:1019
2156 #, no-wrap
2157 msgid "B<void xdr_callhdr(XDR *>I<xdrs>B<, struct rpc_msg *>I<chdr>B<);>\n"
2158 msgstr "B<void xdr_callhdr(XDR *>I<xdrs>B<, struct rpc_msg *>I<chdr>B<);>\n"
2159
2160 #. type: Plain text
2161 #: build/C/man3/rpc.3:1024
2162 msgid ""
2163 "Used for describing RPC call header messages.  This routine is useful for "
2164 "users who wish to generate RPC-style messages without using the RPC package."
2165 msgstr ""
2166 "RPC 呼び出しのヘッダー・メッセージを記述するために使用する。 このルーティン"
2167 "は RPC パッケージを使用せずに RPC-形式のメッセージを作成しようとする場合に便"
2168 "利である。"
2169
2170 #. type: Plain text
2171 #: build/C/man3/rpc.3:1027
2172 #, no-wrap
2173 msgid "B<bool_t xdr_callmsg(XDR *>I<xdrs>B<, struct rpc_msg *>I<cmsg>B<);>\n"
2174 msgstr "B<bool_t xdr_callmsg(XDR *>I<xdrs>B<, struct rpc_msg *>I<cmsg>B<);>\n"
2175
2176 #. type: Plain text
2177 #: build/C/man3/rpc.3:1032
2178 msgid ""
2179 "Used for describing RPC call messages.  This routine is useful for users who "
2180 "wish to generate RPC-style messages without using the RPC package."
2181 msgstr ""
2182 "RPC 呼び出しメッセージを記述するのに使用する。 このルーティンは RPC パッケー"
2183 "ジを使用せずに RPC-形式のメッセージを作成しようとする場合に便利である。"
2184
2185 #. type: Plain text
2186 #: build/C/man3/rpc.3:1035
2187 #, no-wrap
2188 msgid "B<bool_t xdr_opaque_auth(XDR *>I<xdrs>B<, struct opaque_auth *>I<ap>B<);>\n"
2189 msgstr "B<bool_t xdr_opaque_auth(XDR *>I<xdrs>B<, struct opaque_auth *>I<ap>B<);>\n"
2190
2191 #. type: Plain text
2192 #: build/C/man3/rpc.3:1040
2193 msgid ""
2194 "Used for describing RPC authentication information messages.  This routine "
2195 "is useful for users who wish to generate RPC-style messages without using "
2196 "the RPC package."
2197 msgstr ""
2198 "PRC 認証情報メッセージを記述するために使用する。 このルーティンは RPC パッ"
2199 "ケージを使用せずに RPC-形式のメッセージを作成しようとする場合に便利である。"
2200
2201 #. type: Plain text
2202 #: build/C/man3/rpc.3:1043
2203 #, no-wrap
2204 msgid "B<bool_t xdr_pmap(XDR *>I<xdrs>B<, struct pmap *>I<regs>B<);>\n"
2205 msgstr "B<bool_t xdr_pmap(XDR *>I<xdrs>B<, struct pmap *>I<regs>B<);>\n"
2206
2207 #. type: Plain text
2208 #: build/C/man3/rpc.3:1052
2209 msgid ""
2210 "Used for describing parameters to various B<portmap> procedures, "
2211 "externally.  This routine is useful for users who wish to generate these "
2212 "parameters without using the B<pmap> interface."
2213 msgstr ""
2214 "各種の B<portmap> プロシジャへのパラメーターを外部的に記述するために使用す"
2215 "る。 このルーティンは B<pmap> インターフェースを使用せずに、これらのパラメー"
2216 "ターを 作成したい場合に便利である。"
2217
2218 #. type: Plain text
2219 #: build/C/man3/rpc.3:1055
2220 #, no-wrap
2221 msgid "B<bool_t xdr_pmaplist(XDR *>I<xdrs>B<, struct pmaplist **>I<rp>B<);>\n"
2222 msgstr "B<bool_t xdr_pmaplist(XDR *>I<xdrs>B<, struct pmaplist **>I<rp>B<);>\n"
2223
2224 #. type: Plain text
2225 #: build/C/man3/rpc.3:1062
2226 msgid ""
2227 "Used for describing a list of port mappings, externally.  This routine is "
2228 "useful for users who wish to generate these parameters without using the "
2229 "B<pmap> interface."
2230 msgstr ""
2231 "ポートのマッピングのリストを外部的に記述するために使用する。 このルーティン"
2232 "は B<pmap> インターフェースを使用せずに、これらのパラメーターを 作成したい場"
2233 "合に便利である。"
2234
2235 #. type: Plain text
2236 #: build/C/man3/rpc.3:1065
2237 #, no-wrap
2238 msgid "B<bool_t xdr_rejected_reply(XDR *>I<xdrs>B<, struct rejected_reply *>I<rr>B<);>\n"
2239 msgstr "B<bool_t xdr_rejected_reply(XDR *>I<xdrs>B<, struct rejected_reply *>I<rr>B<);>\n"
2240
2241 #. type: Plain text
2242 #: build/C/man3/rpc.3:1070
2243 msgid ""
2244 "Used for describing RPC reply messages.  This routine is useful for users "
2245 "who wish to generate RPC-style messages without using the RPC package."
2246 msgstr ""
2247 "RPC 応答メッセージを記述するために使用する。このルーティンは RPC パッケージを"
2248 "使用せずに、 RPC-形式のメッセージを作成したい場合に便利である。"
2249
2250 #. type: Plain text
2251 #: build/C/man3/rpc.3:1073
2252 #, no-wrap
2253 msgid "B<bool_t xdr_replymsg(XDR *>I<xdrs>B<, struct rpc_msg *>I<rmsg>B<);>\n"
2254 msgstr "B<bool_t xdr_replymsg(XDR *>I<xdrs>B<, struct rpc_msg *>I<rmsg>B<);>\n"
2255
2256 #. type: Plain text
2257 #: build/C/man3/rpc.3:1078
2258 msgid ""
2259 "Used for describing RPC reply messages.  This routine is useful for users "
2260 "who wish to generate RPC style messages without using the RPC package."
2261 msgstr ""
2262 "RPC 応答メッセージを記述するために使用する。 このルーティンは RPC パッケージ"
2263 "を使用せずに、 RPC 形式のメッセージを作成したい場合に便利である。"
2264
2265 #. type: Plain text
2266 #: build/C/man3/rpc.3:1081
2267 #, no-wrap
2268 msgid "B<void xprt_register(SVCXPRT *>I<xprt>B<);>\n"
2269 msgstr "B<void xprt_register(SVCXPRT *>I<xprt>B<);>\n"
2270
2271 #. type: Plain text
2272 #: build/C/man3/rpc.3:1088
2273 msgid ""
2274 "After RPC service transport handles are created, they should register "
2275 "themselves with the RPC service package.  This routine modifies the global "
2276 "variable I<svc_fds>.  Service implementors usually do not need this routine."
2277 msgstr ""
2278 "RPC サービス通信ハンドルを生成した後に、それら自身を RPC サービス・パッケージ"
2279 "に登録する必要がある。 このルーティンは大域変数 I<svc_fds> を修正する。サービ"
2280 "スの実装者は通常、このルーティンは必要ない。"
2281
2282 #. type: Plain text
2283 #: build/C/man3/rpc.3:1091
2284 #, no-wrap
2285 msgid "B<void xprt_unregister(SVCXPRT *>I<xprt>B<);>\n"
2286 msgstr "B<void xprt_unregister(SVCXPRT *>I<xprt>B<);>\n"
2287
2288 #. type: Plain text
2289 #: build/C/man3/rpc.3:1098
2290 msgid ""
2291 "Before an RPC service transport handle is destroyed, it should unregister "
2292 "itself with the RPC service package.  This routine modifies the global "
2293 "variable I<svc_fds>.  Service implementors usually do not need this routine."
2294 msgstr ""
2295 "RPC サービス通信ハンドルを破壊する前に、それを RPC 通信パッケージから登録解除"
2296 "する必要がある。 このルーティンは大域変数 I<svc_fds> を修正する。サービスの実"
2297 "装者は通常、このルーティンは必要ない。"
2298
2299 #.  We don't have an rpc_secure.3 page in the set at the moment -- MTK, 19 Sep 05
2300 #.  .BR rpc_secure (3),
2301 #. type: Plain text
2302 #: build/C/man3/rpc.3:1102
2303 msgid "B<xdr>(3)"
2304 msgstr "B<xdr>(3)"
2305
2306 #. type: Plain text
2307 #: build/C/man3/rpc.3:1104 build/C/man3/xdr.3:542
2308 msgid "The following manuals:"
2309 msgstr "以下のマニュアル:"
2310
2311 #. type: Plain text
2312 #: build/C/man3/rpc.3:1106
2313 msgid "Remote Procedure Calls: Protocol Specification"
2314 msgstr "Remote Procedure Calls: Protocol Specification"
2315
2316 #. type: Plain text
2317 #: build/C/man3/rpc.3:1108
2318 msgid "Remote Procedure Call Programming Guide"
2319 msgstr "Remote Procedure Call Programming Guide"
2320
2321 #. type: Plain text
2322 #: build/C/man3/rpc.3:1110
2323 msgid "rpcgen Programming Guide"
2324 msgstr "rpcgen Programming Guide"
2325
2326 #. type: Plain text
2327 #: build/C/man3/rpc.3:1115
2328 msgid ""
2329 "I<RPC: Remote Procedure Call Protocol Specification>, RFC\\ 1050, Sun "
2330 "Microsystems, Inc., USC-ISI."
2331 msgstr ""
2332 "I<RPC: Remote Procedure Call Protocol Specification>, RFC\\ 1050, Sun "
2333 "Microsystems, Inc., USC-ISI."
2334
2335 #. type: TH
2336 #: build/C/man5/rpc.5:4
2337 #, no-wrap
2338 msgid "1985-09-26"
2339 msgstr "1985-09-26"
2340
2341 #. type: Plain text
2342 #: build/C/man5/rpc.5:7
2343 msgid "rpc - RPC program number data base"
2344 msgstr "rpc - RPC プログラム番号のデータベース"
2345
2346 #. type: Plain text
2347 #: build/C/man5/rpc.5:9
2348 msgid "B</etc/rpc>"
2349 msgstr "B</etc/rpc>"
2350
2351 #. type: Plain text
2352 #: build/C/man5/rpc.5:15
2353 msgid ""
2354 "The I<rpc> file contains user readable names that can be used in place of "
2355 "RPC program numbers.  Each line has the following information:"
2356 msgstr ""
2357 "I<rpc> ファイルには RPC プログラム番号の代わりに使うことのできる ユーザーに可"
2358 "読な名前が入っている。それぞれの行は以下の情報を含む。"
2359
2360 #. type: Plain text
2361 #: build/C/man5/rpc.5:17
2362 msgid "name of server for the RPC program"
2363 msgstr "RPC プログラムのサーバの名前"
2364
2365 #. type: Plain text
2366 #: build/C/man5/rpc.5:21
2367 msgid "RPC program number"
2368 msgstr "RPC プログラム番号"
2369
2370 #. type: Plain text
2371 #: build/C/man5/rpc.5:25
2372 msgid "aliases"
2373 msgstr "別名"
2374
2375 #. type: Plain text
2376 #: build/C/man5/rpc.5:31
2377 msgid ""
2378 "Items are separated by any number of blanks and/or tab characters.  A \\(aq#"
2379 "\\(aq indicates the beginning of a comment; characters from the \\(aq#\\(aq "
2380 "to the end of the line are not interpreted by routines which search the file."
2381 msgstr ""
2382 "それぞれの項目は任意の個数の空白・タブ (混在可) によって区切られる。 先頭に "
2383 "\\(aq#\\(aq のある行はコメントである。 \\(aq#\\(aq からその行の終了までは、こ"
2384 "のファイルをサーチするルーチンによって 解釈されなくなる。"
2385
2386 #. type: Plain text
2387 #: build/C/man5/rpc.5:34
2388 msgid ""
2389 "Here is an example of the I</etc/rpc> file from the Sun RPC Source "
2390 "distribution."
2391 msgstr ""
2392 "以下に、 Sun RPC のソースパッケージからとってきた I</etc/rpc> ファイルの例を"
2393 "示す。"
2394
2395 #. type: ta
2396 #: build/C/man5/rpc.5:35
2397 #, no-wrap
2398 msgid "1.5i +0.5i +1.0i +1.0i"
2399 msgstr "1.5i +0.5i +1.0i +1.0i"
2400
2401 #. type: Plain text
2402 #: build/C/man5/rpc.5:69
2403 #, no-wrap
2404 msgid ""
2405 "#\n"
2406 "# rpc 88/08/01 4.0 RPCSRC; from 1.12   88/02/07 SMI\n"
2407 "#\n"
2408 "portmapper\t\t100000\tportmap sunrpc\n"
2409 "rstatd\t\t100001\trstat rstat_svc rup perfmeter\n"
2410 "rusersd\t\t100002\trusers\n"
2411 "nfs\t\t100003\tnfsprog\n"
2412 "ypserv\t\t100004\typprog\n"
2413 "mountd\t\t100005\tmount showmount\n"
2414 "ypbind\t\t100007\n"
2415 "walld\t\t100008\trwall shutdown\n"
2416 "yppasswdd\t\t100009\typpasswd\n"
2417 "etherstatd\t\t100010\tetherstat\n"
2418 "rquotad\t\t100011\trquotaprog quota rquota\n"
2419 "sprayd\t\t100012\tspray\n"
2420 "3270_mapper\t\t100013\n"
2421 "rje_mapper\t\t100014\n"
2422 "selection_svc\t\t100015\tselnsvc\n"
2423 "database_svc\t\t100016\n"
2424 "rexd\t\t100017\trex\n"
2425 "alis\t\t100018\n"
2426 "sched\t\t100019\n"
2427 "llockmgr\t\t100020\n"
2428 "nlockmgr\t\t100021\n"
2429 "x25.inr\t\t100022\n"
2430 "statmon\t\t100023\n"
2431 "status\t\t100024\n"
2432 "bootparam\t\t100026\n"
2433 "ypupdated\t\t100028\typupdate\n"
2434 "keyserv\t\t100029\tkeyserver\n"
2435 "tfsd\t\t100037\n"
2436 "nsed\t\t100038\n"
2437 "nsemntd\t\t100039\n"
2438 msgstr ""
2439 "#\n"
2440 "# rpc 88/08/01 4.0 RPCSRC; from 1.12   88/02/07 SMI\n"
2441 "#\n"
2442 "portmapper\t\t100000\tportmap sunrpc\n"
2443 "rstatd\t\t100001\trstat rstat_svc rup perfmeter\n"
2444 "rusersd\t\t100002\trusers\n"
2445 "nfs\t\t100003\tnfsprog\n"
2446 "ypserv\t\t100004\typprog\n"
2447 "mountd\t\t100005\tmount showmount\n"
2448 "ypbind\t\t100007\n"
2449 "walld\t\t100008\trwall shutdown\n"
2450 "yppasswdd\t\t100009\typpasswd\n"
2451 "etherstatd\t\t100010\tetherstat\n"
2452 "rquotad\t\t100011\trquotaprog quota rquota\n"
2453 "sprayd\t\t100012\tspray\n"
2454 "3270_mapper\t\t100013\n"
2455 "rje_mapper\t\t100014\n"
2456 "selection_svc\t\t100015\tselnsvc\n"
2457 "database_svc\t\t100016\n"
2458 "rexd\t\t100017\trex\n"
2459 "alis\t\t100018\n"
2460 "sched\t\t100019\n"
2461 "llockmgr\t\t100020\n"
2462 "nlockmgr\t\t100021\n"
2463 "x25.inr\t\t100022\n"
2464 "statmon\t\t100023\n"
2465 "status\t\t100024\n"
2466 "bootparam\t\t100026\n"
2467 "ypupdated\t\t100028\typupdate\n"
2468 "keyserv\t\t100029\tkeyserver\n"
2469 "tfsd\t\t100037 \n"
2470 "nsed\t\t100038\n"
2471 "nsemntd\t\t100039\n"
2472
2473 #. type: Plain text
2474 #: build/C/man5/rpc.5:75
2475 msgid "RPC program number data base"
2476 msgstr "RPC プログラム番号データベース"
2477
2478 #. type: Plain text
2479 #: build/C/man5/rpc.5:77
2480 msgid "B<getrpcent>(3)"
2481 msgstr "B<getrpcent>(3)"
2482
2483 #. type: TH
2484 #: build/C/man3/rtime.3:8
2485 #, no-wrap
2486 msgid "RTIME"
2487 msgstr "RTIME"
2488
2489 #. type: TH
2490 #: build/C/man3/rtime.3:8
2491 #, no-wrap
2492 msgid "2010-02-25"
2493 msgstr "2010-02-25"
2494
2495 #. type: Plain text
2496 #: build/C/man3/rtime.3:11
2497 msgid "rtime - get time from a remote machine"
2498 msgstr "rtime - リモートマシンから時刻を取得する"
2499
2500 #. type: Plain text
2501 #: build/C/man3/rtime.3:14
2502 #, no-wrap
2503 msgid "B<#include E<lt>rpc/des_crypt.hE<gt>>\n"
2504 msgstr "B<#include E<lt>rpc/des_crypt.hE<gt>>\n"
2505
2506 #. type: Plain text
2507 #: build/C/man3/rtime.3:17
2508 #, no-wrap
2509 msgid ""
2510 "B<int rtime(struct sockaddr_in *>I<addrp>B<, struct rpc_timeval *>I<timep>B<,>\n"
2511 "B<          struct rpc_timeval *>I<timeout>B<);>\n"
2512 msgstr ""
2513 "B<int rtime(struct sockaddr_in *>I<addrp>B<, struct rpc_timeval *>I<timep>B<,>\n"
2514 "B<          struct rpc_timeval *>I<timeout>B<);>\n"
2515
2516 #. type: Plain text
2517 #: build/C/man3/rtime.3:21
2518 msgid ""
2519 "This function uses the Time Server Protocol as described in RFC\\ 868 to "
2520 "obtain the time from a remote machine."
2521 msgstr ""
2522 "この関数は RFC\\ 868 に記述されているタイムサーバプロトコルを使用し、 リモー"
2523 "トマシンから時刻を取得する。"
2524
2525 #. type: Plain text
2526 #: build/C/man3/rtime.3:27
2527 msgid ""
2528 "The Time Server Protocol gives the time in seconds since 00:00:00 UTC, 1 Jan "
2529 "1900, and this function subtracts the appropriate constant in order to "
2530 "convert the result to seconds since the Epoch, 1970-01-01 00:00:00 +0000 "
2531 "(UTC)."
2532 msgstr ""
2533 "タイムサーバプロトコルは 00:00:00 UTC, 1 Jan 1900 から秒数を提供するので、 こ"
2534 "の関数は適切な定数値を引くことにより、 提供された値を Unix における時刻紀元 "
2535 "(1970-01-01 00:00:00 +0000 (UTC))  から秒数に変換する。"
2536
2537 #. type: Plain text
2538 #: build/C/man3/rtime.3:32
2539 msgid ""
2540 "When I<timeout> is non-NULL, the udp/time socket (port 37) is used.  "
2541 "Otherwise, the tcp/time socket (port 37) is used."
2542 msgstr ""
2543 "I<timeout> が NULL でない場合、udp/time ソケット (ポート 37) が使用される。 "
2544 "それ以外の場合、tcp/time ソケット (ポート 37) が使用される。"
2545
2546 #. type: Plain text
2547 #: build/C/man3/rtime.3:38
2548 msgid ""
2549 "On success, 0 is returned, and the obtained 32-bit time value is stored in "
2550 "I<timep-E<gt>tv_sec>.  In case of error -1 is returned, and I<errno> is set "
2551 "appropriately."
2552 msgstr ""
2553 "成功した場合は、0 が返されて、得られた 32 ビットの時刻値は I<timep-"
2554 "E<gt>tv_sec> に格納される。 エラーの場合は、-1 が返されて、 I<errno> が適切に"
2555 "設定される。"
2556
2557 #. type: Plain text
2558 #: build/C/man3/rtime.3:47
2559 msgid ""
2560 "All errors for underlying functions (B<sendto>(2), B<poll>(2), B<recvfrom>"
2561 "(2), B<connect>(2), B<read>(2))  can occur.  Moreover:"
2562 msgstr ""
2563 "内部で使用している関数 (B<sendto>(2), B<poll>(2), B<recvfrom>(2), B<connect>"
2564 "(2), B<read>(2))  の全てのエラーが起こる可能性がある。 更に次のエラーが起こる"
2565 "可能性がある:"
2566
2567 #. type: TP
2568 #: build/C/man3/rtime.3:47
2569 #, no-wrap
2570 msgid "B<EIO>"
2571 msgstr "B<EIO>"
2572
2573 #. type: Plain text
2574 #: build/C/man3/rtime.3:50
2575 msgid "The number of returned bytes is not 4."
2576 msgstr "返されたバイト数が 4 バイトでない。"
2577
2578 #. type: TP
2579 #: build/C/man3/rtime.3:50
2580 #, no-wrap
2581 msgid "B<ETIMEDOUT>"
2582 msgstr "B<ETIMEDOUT>"
2583
2584 #. type: Plain text
2585 #: build/C/man3/rtime.3:53
2586 msgid "The waiting time as defined in timeout has expired."
2587 msgstr "timeout で定義された待ち時間の期限が切れた。"
2588
2589 #. type: Plain text
2590 #: build/C/man3/rtime.3:55
2591 msgid "Only IPv4 is supported."
2592 msgstr "IPv4 のみがサポートされている。"
2593
2594 #. type: Plain text
2595 #: build/C/man3/rtime.3:62
2596 msgid ""
2597 "Some I<in.timed> versions only support TCP.  Try the example program with "
2598 "I<use_tcp> set to 1."
2599 msgstr ""
2600 "I<in.timed> のバージョンによっては TCP しかサポートしていないものもある。 "
2601 "I<use_tcp> を 1 に設定して、例にあるプログラムを試すこと。"
2602
2603 #. type: Plain text
2604 #: build/C/man3/rtime.3:64
2605 msgid "Libc5 uses the prototype"
2606 msgstr "libc5 はプロトタイプ"
2607
2608 #. type: Plain text
2609 #: build/C/man3/rtime.3:66
2610 msgid "int rtime(struct sockaddr_in *, struct timeval *, struct timeval *);"
2611 msgstr "int rtime(struct sockaddr_in *, struct timeval *, struct timeval *);"
2612
2613 #. type: Plain text
2614 #: build/C/man3/rtime.3:71
2615 msgid ""
2616 "and requires I<E<lt>sys/time.hE<gt>> instead of I<E<lt>rpc/auth_des.hE<gt>>."
2617 msgstr ""
2618 "を使い、 I<E<lt>rpc/auth_des.hE<gt>> の代わりに I<E<lt>sys/time.hE<gt>> を必"
2619 "要とする。"
2620
2621 #. type: Plain text
2622 #: build/C/man3/rtime.3:74
2623 msgid ""
2624 "B<rtime>()  in glibc 2.2.5 and earlier does not work properly on 64-bit "
2625 "machines."
2626 msgstr "glibc 2.2.5 以前の B<rtime>()  は、64 ビットマシンで正確に動作しない。"
2627
2628 #. type: SH
2629 #: build/C/man3/rtime.3:74
2630 #, no-wrap
2631 msgid "EXAMPLE"
2632 msgstr "例"
2633
2634 #. type: Plain text
2635 #: build/C/man3/rtime.3:80
2636 msgid ""
2637 "This example requires that port 37 is up and open.  You may check that the "
2638 "time entry within I</etc/inetd.conf> is not commented out."
2639 msgstr ""
2640 "この例ではポート 37 がアップされてオープンされている必要がある。 I</etc/"
2641 "inetd.conf> の time エントリがコメントアウトされていないことを確認してほし"
2642 "い。"
2643
2644 #. type: Plain text
2645 #: build/C/man3/rtime.3:84
2646 msgid ""
2647 "The program connects to a computer called \"linux\".  Using \"localhost\" "
2648 "does not work.  The result is the localtime of the computer \"linux\"."
2649 msgstr ""
2650 "このプログラムは \"linux\" というコンピュータに接続する。 \"localhost\" を"
2651 "使った場合は動作しない。 結果はコンピュータ \"linux\" のローカル時刻である。"
2652
2653 #. type: Plain text
2654 #: build/C/man3/rtime.3:93
2655 #, no-wrap
2656 msgid ""
2657 "#include E<lt>stdio.hE<gt>\n"
2658 "#include E<lt>stdlib.hE<gt>\n"
2659 "#include E<lt>errno.hE<gt>\n"
2660 "#include E<lt>string.hE<gt>\n"
2661 "#include E<lt>time.hE<gt>\n"
2662 "#include E<lt>rpc/auth_des.hE<gt>\n"
2663 "#include E<lt>netdb.hE<gt>\n"
2664 msgstr ""
2665 "#include E<lt>stdio.hE<gt>\n"
2666 "#include E<lt>stdlib.hE<gt>\n"
2667 "#include E<lt>errno.hE<gt>\n"
2668 "#include E<lt>string.hE<gt>\n"
2669 "#include E<lt>time.hE<gt>\n"
2670 "#include E<lt>rpc/auth_des.hE<gt>\n"
2671 "#include E<lt>netdb.hE<gt>\n"
2672
2673 #. type: Plain text
2674 #: build/C/man3/rtime.3:96
2675 #, no-wrap
2676 msgid ""
2677 "int use_tcp = 0;\n"
2678 "char *servername = \"linux\";\n"
2679 msgstr ""
2680 "int use_tcp = 0;\n"
2681 "char *servername = \"linux\";\n"
2682
2683 #. type: Plain text
2684 #: build/C/man3/rtime.3:105
2685 #, no-wrap
2686 msgid ""
2687 "int\n"
2688 "main(void)\n"
2689 "{\n"
2690 "    struct sockaddr_in name;\n"
2691 "    struct rpc_timeval time1 = {0,0};\n"
2692 "    struct rpc_timeval timeout = {1,0};\n"
2693 "    struct hostent *hent;\n"
2694 "    int ret;\n"
2695 msgstr ""
2696 "int\n"
2697 "main(void)\n"
2698 "{\n"
2699 "    struct sockaddr_in name;\n"
2700 "    struct rpc_timeval time1 = {0,0};\n"
2701 "    struct rpc_timeval timeout = {1,0};\n"
2702 "    struct hostent *hent;\n"
2703 "    int ret;\n"
2704
2705 #. type: Plain text
2706 #: build/C/man3/rtime.3:110
2707 #, no-wrap
2708 msgid ""
2709 "    memset((char *) &name, 0, sizeof(name));\n"
2710 "    sethostent(1);\n"
2711 "    hent = gethostbyname(servername);\n"
2712 "    memcpy((char *) &name.sin_addr, hent-E<gt>h_addr, hent-E<gt>h_length);\n"
2713 msgstr ""
2714 "    memset((char *) &name, 0, sizeof(name));\n"
2715 "    sethostent(1);\n"
2716 "    hent = gethostbyname(servername);\n"
2717 "    memcpy((char *) &name.sin_addr, hent-E<gt>h_addr, hent-E<gt>h_length);\n"
2718
2719 #. type: Plain text
2720 #: build/C/man3/rtime.3:116
2721 #, no-wrap
2722 msgid ""
2723 "    ret = rtime(&name, &time1, use_tcp ? NULL : &timeout);\n"
2724 "    if (ret E<lt> 0)\n"
2725 "        perror(\"rtime error\");\n"
2726 "    else\n"
2727 "        printf(\"%s\\en\", ctime((time_t *) &time1.tv_sec));\n"
2728 msgstr ""
2729 "    ret = rtime(&name, &time1, use_tcp ? NULL : &timeout);\n"
2730 "    if (ret E<lt> 0)\n"
2731 "        perror(\"rtime error\");\n"
2732 "    else\n"
2733 "        printf(\"%s\\en\", ctime((time_t *) &time1.tv_sec));\n"
2734
2735 #. type: Plain text
2736 #: build/C/man3/rtime.3:119
2737 #, no-wrap
2738 msgid ""
2739 "    exit(EXIT_SUCCESS);\n"
2740 "}\n"
2741 msgstr ""
2742 "    exit(EXIT_SUCCESS);\n"
2743 "}\n"
2744
2745 #.  .BR netdate (1),
2746 #.  .BR rdate (1),
2747 #. type: Plain text
2748 #: build/C/man3/rtime.3:125
2749 msgid "B<ntpdate>(1), B<inetd>(8)"
2750 msgstr "B<ntpdate>(1), B<inetd>(8)"
2751
2752 #. type: TH
2753 #: build/C/man3/xdr.3:7
2754 #, no-wrap
2755 msgid "XDR"
2756 msgstr "XDR"
2757
2758 #. type: TH
2759 #: build/C/man3/xdr.3:7
2760 #, no-wrap
2761 msgid "2007-12-30"
2762 msgstr "2007-12-30"
2763
2764 #. type: Plain text
2765 #: build/C/man3/xdr.3:10
2766 msgid "xdr - library routines for external data representation"
2767 msgstr "xdr - 外部データ表現(XDR)のためのライブラリ・ルーティン"
2768
2769 #. type: Plain text
2770 #: build/C/man3/xdr.3:16
2771 msgid ""
2772 "These routines allow C programmers to describe arbitrary data structures in "
2773 "a machine-independent fashion.  Data for remote procedure calls are "
2774 "transmitted using these routines."
2775 msgstr ""
2776 "これらのルーティンは C プログラマーがマシン非依存な形式で 任意のデータ構造体"
2777 "を記述することを可能にする。 リモート・プロシジャ・コールのためのデータはこれ"
2778 "らのルーティンを 使用して送信される。"
2779
2780 #. type: Plain text
2781 #: build/C/man3/xdr.3:20
2782 msgid ""
2783 "The prototypes below are declared in I<E<lt>rpc/xdr.hE<gt>> and make use of "
2784 "the following types:"
2785 msgstr ""
2786 "以下に示すプロトタイプ宣言は I<E<lt>rpc/xdr.hE<gt>> で行われており、その中で"
2787 "は次の型が使用される。"
2788
2789 #. type: Plain text
2790 #: build/C/man3/xdr.3:33
2791 msgid "For the declaration of the I<XDR> type, see I<E<lt>rpc/xdr.hE<gt>>."
2792 msgstr "I<XDR> 型の宣言については、 I<E<lt>rpc/xdr.hE<gt>> を参照。"
2793
2794 #. type: Plain text
2795 #: build/C/man3/xdr.3:38
2796 #, no-wrap
2797 msgid ""
2798 "B<bool_t xdr_array(XDR *>I<xdrs>B<, char **>I<arrp>B<, unsigned int *>I<sizep>B<,>\n"
2799 "B<                 unsigned int >I<maxsize>B<, unsigned int >I<elsize>B<,>\n"
2800 "B<                 xdrproc_t >I<elproc>B<);>\n"
2801 msgstr ""
2802 "B<bool_t xdr_array(XDR *>I<xdrs>B<, char **>I<arrp>B<, unsigned int *>I<sizep>B<,>\n"
2803 "B<                 unsigned int >I<maxsize>B<, unsigned int >I<elsize>B<,>\n"
2804 "B<                 xdrproc_t >I<elproc>B<);>\n"
2805
2806 #. type: Plain text
2807 #: build/C/man3/xdr.3:59
2808 msgid ""
2809 "A filter primitive that translates between variable-length arrays and their "
2810 "corresponding external representations.  The argument I<arrp> is the address "
2811 "of the pointer to the array, while I<sizep> is the address of the element "
2812 "count of the array; this element count cannot exceed I<maxsize>.  The "
2813 "argument I<elsize> is the I<sizeof> each of the array's elements, and "
2814 "I<elproc> is an XDR filter that translates between the array elements' C "
2815 "form, and their external representation.  This routine returns one if it "
2816 "succeeds, zero otherwise."
2817 msgstr ""
2818 "可変長の配列とそれに対応する外部表現とを変換する基本フィルター。 引き数 "
2819 "I<arrp> は配列へのポインターのアドレスであり、 I<sizep> は配列の要素数のアド"
2820 "レスである。 これらの要素数は I<maxsize> を超えてはならない。 引き数 "
2821 "I<elsize> は各配列の要素の I<sizeof> であり、 I<elproc> は配列要素を C 形式か"
2822 "らその外部表現に変換するための XDR フィルターである。 このルーティンは成功し"
2823 "た場合には 1 を返す。 失敗した場合にはゼロを返す。"
2824
2825 #. type: Plain text
2826 #: build/C/man3/xdr.3:62
2827 #, no-wrap
2828 msgid "B<bool_t xdr_bool(XDR *>I<xdrs>B<, bool_t *>I<bp>B<);>\n"
2829 msgstr "B<bool_t xdr_bool(XDR *>I<xdrs>B<, bool_t *>I<bp>B<);>\n"
2830
2831 #. type: Plain text
2832 #: build/C/man3/xdr.3:70
2833 msgid ""
2834 "A filter primitive that translates between booleans (C integers)  and their "
2835 "external representations.  When encoding data, this filter produces values "
2836 "of either one or zero.  This routine returns one if it succeeds, zero "
2837 "otherwise."
2838 msgstr ""
2839 "真偽値(C の int)とその外部表現とを変換する基本フィルター。 データをエンコード"
2840 "する時、このフィルターは 1 また 0 の値を生成する。 このルーティンは成功した場"
2841 "合には 1 を返す。 失敗した場合には 0 を返す。"
2842
2843 #. type: Plain text
2844 #: build/C/man3/xdr.3:74
2845 #, no-wrap
2846 msgid ""
2847 "B<bool_t xdr_bytes(XDR *>I<xdrs>B<, char **>I<sp>B<, unsigned int *>I<sizep>B<,>\n"
2848 "B<                 unsigned int >I<maxsize>B<);>\n"
2849 msgstr ""
2850 "B<bool_t xdr_bytes(XDR *>I<xdrs>B<, char **>I<sp>B<, unsigned int *>I<sizep>B<,>\n"
2851 "B<                 unsigned int >I<maxsize>B<);>\n"
2852
2853 #. type: Plain text
2854 #: build/C/man3/xdr.3:87
2855 msgid ""
2856 "A filter primitive that translates between counted byte strings and their "
2857 "external representations.  The argument I<sp> is the address of the string "
2858 "pointer.  The length of the string is located at address I<sizep>; strings "
2859 "cannot be longer than I<maxsize>.  This routine returns one if it succeeds, "
2860 "zero otherwise."
2861 msgstr ""
2862 "ある長さのバイト文字列とその外部表現とを変換する基本フィルター。 引き数 "
2863 "I<sp> は文字列ポインターのアドレスである。文字列の長さは I<sizep> のアドレス"
2864 "に置く。文字列は I<maxsize> より長くてはいけない。 このルーティンは成功した場"
2865 "合には 1 を返す。 失敗した場合には 0 を返す。"
2866
2867 #. type: Plain text
2868 #: build/C/man3/xdr.3:90
2869 #, no-wrap
2870 msgid "B<bool_t xdr_char(XDR *>I<xdrs>B<, char *>I<cp>B<);>\n"
2871 msgstr "B<bool_t xdr_char(XDR *>I<xdrs>B<, char *>I<cp>B<);>\n"
2872
2873 #. type: Plain text
2874 #: build/C/man3/xdr.3:102
2875 msgid ""
2876 "A filter primitive that translates between C characters and their external "
2877 "representations.  This routine returns one if it succeeds, zero otherwise.  "
2878 "Note: encoded characters are not packed, and occupy 4 bytes each.  For "
2879 "arrays of characters, it is worthwhile to consider B<xdr_bytes>(), "
2880 "B<xdr_opaque>()  or B<xdr_string>()."
2881 msgstr ""
2882 "C の文字(char)とその外部表現との間を変換する基本フィルター。 このルーティンは"
2883 "成功した場合には 1 を返す。 失敗した場合には 0 を返す。 注意: エンコードされ"
2884 "たデータは詰め込まれておらず、それぞれ 4 バイトを 占める。文字の配列の場合に"
2885 "は B<xdr_bytes>(), B<xdr_opaque>(), B<xdr_string>()  などを考慮した方が良い。"
2886
2887 #. type: Plain text
2888 #: build/C/man3/xdr.3:105
2889 #, no-wrap
2890 msgid "B<void xdr_destroy(XDR *>I<xdrs>B<);>\n"
2891 msgstr "B<void xdr_destroy(XDR *>I<xdrs>B<);>\n"
2892
2893 #. type: Plain text
2894 #: build/C/man3/xdr.3:116
2895 msgid ""
2896 "A macro that invokes the destroy routine associated with the XDR stream, "
2897 "I<xdrs>.  Destruction usually involves freeing private data structures "
2898 "associated with the stream.  Using I<xdrs> after invoking B<xdr_destroy>()  "
2899 "is undefined."
2900 msgstr ""
2901 "このマクロは XDR ストリーム I<xdrs> に関連付けられた破壊ルーティンを呼び出"
2902 "す。 破壊には通常、ストリームに関連付けられた私的データ構造体の解放が含まれて"
2903 "いる。 B<xdr_destroy>()  の呼び出しの後に I<xdrs> を使用することは未定義であ"
2904 "る。"
2905
2906 #. type: Plain text
2907 #: build/C/man3/xdr.3:119
2908 #, no-wrap
2909 msgid "B<bool_t xdr_double(XDR *>I<xdrs>B<, double *>I<dp>B<);>\n"
2910 msgstr "B<bool_t xdr_double(XDR *>I<xdrs>B<, double *>I<dp>B<);>\n"
2911
2912 #. type: Plain text
2913 #: build/C/man3/xdr.3:125
2914 msgid ""
2915 "A filter primitive that translates between C I<double> precision numbers and "
2916 "their external representations.  This routine returns one if it succeeds, "
2917 "zero otherwise."
2918 msgstr ""
2919 "C の I<倍精度数 (double)> とその外部表現との変換を行なう基本フィルター。 この"
2920 "ルーティンは成功した場合は 1 を返す。 失敗した場合は 0 を返す。"
2921
2922 #. type: Plain text
2923 #: build/C/man3/xdr.3:128
2924 #, no-wrap
2925 msgid "B<bool_t xdr_enum(XDR *>I<xdrs>B<, enum_t *>I<ep>B<);>\n"
2926 msgstr "B<bool_t xdr_enum(XDR *>I<xdrs>B<, enum_t *>I<ep>B<);>\n"
2927
2928 #. type: Plain text
2929 #: build/C/man3/xdr.3:134
2930 msgid ""
2931 "A filter primitive that translates between C I<enum>s (actually integers) "
2932 "and their external representations.  This routine returns one if it "
2933 "succeeds, zero otherwise."
2934 msgstr ""
2935 "C の I<enum> (実際には int)とその外部表現との変換を行なう基本フィルター。 こ"
2936 "のルーティンは成功した場合は 1 を返す。 失敗した場合は 0 を返す。"
2937
2938 #. type: Plain text
2939 #: build/C/man3/xdr.3:137
2940 #, no-wrap
2941 msgid "B<bool_t xdr_float(XDR *>I<xdrs>B<, float *>I<fp>B<);>\n"
2942 msgstr "B<bool_t xdr_float(XDR *>I<xdrs>B<, float *>I<fp>B<);>\n"
2943
2944 #. type: Plain text
2945 #: build/C/man3/xdr.3:143
2946 msgid ""
2947 "A filter primitive that translates between C I<float>s and their external "
2948 "representations.  This routine returns one if it succeeds, zero otherwise."
2949 msgstr ""
2950 "C の I<浮動小数点数 (float)> とその外部表現との変換を行なう基本フィルター。 "
2951 "このルーティンは成功した場合は 1 を返す。 失敗した場合は 0 を返す。"
2952
2953 #. type: Plain text
2954 #: build/C/man3/xdr.3:146
2955 #, no-wrap
2956 msgid "B<void xdr_free(xdrproc_t >I<proc>B<, char *>I<objp>B<);>\n"
2957 msgstr "B<void xdr_free(xdrproc_t >I<proc>B<, char *>I<objp>B<);>\n"
2958
2959 #. type: Plain text
2960 #: build/C/man3/xdr.3:156
2961 msgid ""
2962 "Generic freeing routine.  The first argument is the XDR routine for the "
2963 "object being freed.  The second argument is a pointer to the object itself.  "
2964 "Note: the pointer passed to this routine is I<not> freed, but what it points "
2965 "to I<is> freed (recursively)."
2966 msgstr ""
2967 "汎用解放(free)ルーティン。最初の引き数はオブジェクトを解放するための XDR ルー"
2968 "ティンである。二番目の引き数はそのオブジェクト自身へのポインター である。注"
2969 "意: このルーティンに渡されるポインターは I<解放されない> が、このポインターの"
2970 "指すデータは(再帰的に)  I<解放される>。"
2971
2972 #. type: Plain text
2973 #: build/C/man3/xdr.3:159
2974 #, no-wrap
2975 msgid "B<unsigned int xdr_getpos(XDR *>I<xdrs>B<);>\n"
2976 msgstr "B<unsigned int xdr_getpos(XDR *>I<xdrs>B<);>\n"
2977
2978 #. type: Plain text
2979 #: build/C/man3/xdr.3:169
2980 msgid ""
2981 "A macro that invokes the get-position routine associated with the XDR "
2982 "stream, I<xdrs>.  The routine returns an unsigned integer, which indicates "
2983 "the position of the XDR byte stream.  A desirable feature of XDR streams is "
2984 "that simple arithmetic works with this number, although the XDR stream "
2985 "instances need not guarantee this."
2986 msgstr ""
2987 "このマクロは XDR ストリーム I<xdrs> に関連付けられた位置取得ルーティンを呼び"
2988 "出す。 このルーティンは XDR バイト・ストリームの位置を指示する符号無し整数を"
2989 "返す。 XDR ストリームの機能としてこの数値で単純な算術作業ができることが 期待"
2990 "されてるいる。しかしながら XDR ストリームの実体はこれを保証する必要はない。"
2991
2992 #. type: Plain text
2993 #: build/C/man3/xdr.3:172
2994 #, no-wrap
2995 msgid "B<long *xdr_inline(XDR *>I<xdrs>B<, int >I<len>B<);>\n"
2996 msgstr "B<long *xdr_inline(XDR *>I<xdrs>B<, int >I<len>B<);>\n"
2997
2998 #. type: Plain text
2999 #: build/C/man3/xdr.3:182
3000 msgid ""
3001 "A macro that invokes the inline routine associated with the XDR stream, "
3002 "I<xdrs>.  The routine returns a pointer to a contiguous piece of the "
3003 "stream's buffer; I<len> is the byte length of the desired buffer.  Note: "
3004 "pointer is cast to I<long *>."
3005 msgstr ""
3006 "このマクロは XDR ストリーム I<xdrs> に関連付けられた内部(inline)ルーティンを"
3007 "呼び出す。 ルーティンはストリームのバッファーの連続する断片へのポインターを返"
3008 "す。 I<len> は要求するバッファーのバイト長である。 注意: ポインターは I<long "
3009 "*> にキャストされる。"
3010
3011 #. type: Plain text
3012 #: build/C/man3/xdr.3:189
3013 msgid ""
3014 "Warning: B<xdr_inline>()  may return NULL (0)  if it cannot allocate a "
3015 "contiguous piece of a buffer.  Therefore the behavior may vary among stream "
3016 "instances; it exists for the sake of efficiency."
3017 msgstr ""
3018 "警告: B<xdr_inline>()  はバッファーの連続する断片を割り当てることができなかっ"
3019 "た場合には NULL (0)を返すかもしれない。 どの場合もその動作はストリームの実体"
3020 "によって変化するかもしれない。 これは効率化のために存在している。"
3021
3022 #. type: Plain text
3023 #: build/C/man3/xdr.3:192
3024 #, no-wrap
3025 msgid "B<bool_t xdr_int(XDR *>I<xdrs>B<, int *>I<ip>B<);>\n"
3026 msgstr "B<bool_t xdr_int(XDR *>I<xdrs>B<, int *>I<ip>B<);>\n"
3027
3028 #. type: Plain text
3029 #: build/C/man3/xdr.3:197
3030 msgid ""
3031 "A filter primitive that translates between C integers and their external "
3032 "representations.  This routine returns one if it succeeds, zero otherwise."
3033 msgstr ""
3034 "C の整数(int)とその外部表現とを変換するための基本フィルター。 このルーティン"
3035 "は成功した場合は 1 を返す。 失敗した場合はゼロを返す。"
3036
3037 #. type: Plain text
3038 #: build/C/man3/xdr.3:200
3039 #, no-wrap
3040 msgid "B<bool_t xdr_long(XDR *>I<xdrs>B<, long *>I<lp>B<);>\n"
3041 msgstr "B<bool_t xdr_long(XDR *>I<xdrs>B<, long *>I<lp>B<);>\n"
3042
3043 #. type: Plain text
3044 #: build/C/man3/xdr.3:206
3045 msgid ""
3046 "A filter primitive that translates between C I<long> integers and their "
3047 "external representations.  This routine returns one if it succeeds, zero "
3048 "otherwise."
3049 msgstr ""
3050 "C の I<long> 整数とそのその外部表現とを変換するための基本フィルター。 この"
3051 "ルーティンは成功した場合は 1 を返す。 失敗した場合はゼロを返す。"
3052
3053 #. type: Plain text
3054 #: build/C/man3/xdr.3:210
3055 #, no-wrap
3056 msgid ""
3057 "B<void xdrmem_create(XDR *>I<xdrs>B<, char *>I<addr>B<, unsigned int >I<size>B<,>\n"
3058 "B<                   enum xdr_op >I<op>B<);>\n"
3059 msgstr ""
3060 "B<void xdrmem_create(XDR *>I<xdrs>B<, char *>I<addr>B<, unsigned int >I<size>B<,>\n"
3061 "B<                   enum xdr_op >I<op>B<);>\n"
3062
3063 #. type: Plain text
3064 #: build/C/man3/xdr.3:227
3065 msgid ""
3066 "This routine initializes the XDR stream object pointed to by I<xdrs>.  The "
3067 "stream's data is written to, or read from, a chunk of memory at location "
3068 "I<addr> whose length is no more than I<size> bytes long.  The I<op> "
3069 "determines the direction of the XDR stream (either B<XDR_ENCODE>, "
3070 "B<XDR_DECODE>, or B<XDR_FREE>)."
3071 msgstr ""
3072 "このルーティンは I<xdrs> によって指されている XDR ストリーム・オブジェクトを"
3073 "初期化する。 ストリームのデータは I<addr> 位置にあるメモリーの塊から読み書き"
3074 "される。 その長さはバイト単位で I<size> 超えてはいけない。 I<op> は XDR スト"
3075 "リームの変換方向を決定する (B<XDR_ENCODE>, B<XDR_DECODE>, B<XDR_FREE> のどれ"
3076 "か)。"
3077
3078 #. type: Plain text
3079 #: build/C/man3/xdr.3:230
3080 #, no-wrap
3081 msgid "B<bool_t xdr_opaque(XDR *>I<xdrs>B<, char *>I<cp>B<, unsigned int >I<cnt>B<);>\n"
3082 msgstr "B<bool_t xdr_opaque(XDR *>I<xdrs>B<, char *>I<cp>B<, unsigned int >I<cnt>B<);>\n"
3083
3084 #. type: Plain text
3085 #: build/C/man3/xdr.3:240
3086 msgid ""
3087 "A filter primitive that translates between fixed size opaque data and its "
3088 "external representation.  The argument I<cp> is the address of the opaque "
3089 "object, and I<cnt> is its size in bytes.  This routine returns one if it "
3090 "succeeds, zero otherwise."
3091 msgstr ""
3092 "固定長の不明データとその外部表現との変換を行なう基本フィルター。 引き数 "
3093 "I<cp> は不明オブジェクトのアドレスであり I<cnt> はそのバイト単位の大きさであ"
3094 "る。 このルーティンは成功した場合は 1 を返す。 失敗した場合はゼロを返す。"
3095
3096 #. type: Plain text
3097 #: build/C/man3/xdr.3:244
3098 #, no-wrap
3099 msgid ""
3100 "B<bool_t xdr_pointer(XDR *>I<xdrs>B<, char **>I<objpp>B<,>\n"
3101 "B<                   unsigned int >I<objsize>B<, xdrproc_t >I<xdrobj>B<);>\n"
3102 msgstr ""
3103 "B<bool_t xdr_pointer(XDR *>I<xdrs>B<, char **>I<objpp>B<,>\n"
3104 "B<                   unsigned int >I<objsize>B<, xdrproc_t >I<xdrobj>B<);>\n"
3105
3106 #. type: Plain text
3107 #: build/C/man3/xdr.3:256
3108 msgid ""
3109 "Like B<xdr_reference>()  except that it serializes NULL pointers, whereas "
3110 "B<xdr_reference>()  does not.  Thus, B<xdr_pointer>()  can represent "
3111 "recursive data structures, such as binary trees or linked lists."
3112 msgstr ""
3113 "B<xdr_reference>()  と同様であるが、これが NULL ポインターを番号化するのに対"
3114 "して B<xdr_reference>()  はそうしない点が異なっている。これにより、 "
3115 "B<xdr_pointer>()  は二分木や連結リストのような再帰的なデータ構造体を 表現でき"
3116 "る。"
3117
3118 #. type: Plain text
3119 #: build/C/man3/xdr.3:262
3120 #, no-wrap
3121 msgid ""
3122 "B<void xdrrec_create(XDR *>I<xdrs>B<, unsigned int >I<sendsize>B<,>\n"
3123 "B<                   unsigned int >I<recvsize>B<, char *>I<handle>B<,>\n"
3124 "B<                   int (*>I<readit>B<) (char *, char *, int),>\n"
3125 "B<                   int (*>I<writeit>B<) (char *, char *, int));>\n"
3126 msgstr ""
3127 "B<void xdrrec_create(XDR *>I<xdrs>B<, unsigned int >I<sendsize>B<,>\n"
3128 "B<                   unsigned int >I<recvsize>B<, char *>I<handle>B<,>\n"
3129 "B<                   int (*>I<readit>B<) (char *, char *, int),>\n"
3130 "B<                   int (*>I<writeit>B<) (char *, char *, int));>\n"
3131
3132 #. type: Plain text
3133 #: build/C/man3/xdr.3:289
3134 msgid ""
3135 "This routine initializes the XDR stream object pointed to by I<xdrs>.  The "
3136 "stream's data is written to a buffer of size I<sendsize>; a value of zero "
3137 "indicates the system should use a suitable default.  The stream's data is "
3138 "read from a buffer of size I<recvsize>; it too can be set to a suitable "
3139 "default by passing a zero value.  When a stream's output buffer is full, "
3140 "I<writeit> is called.  Similarly, when a stream's input buffer is empty, "
3141 "I<readit> is called.  The behavior of these two routines is similar to the "
3142 "system calls B<read>(2)  and B<write>(2), except that I<handle> is passed to "
3143 "the former routines as the first argument.  Note: the XDR stream's I<op> "
3144 "field must be set by the caller."
3145 msgstr ""
3146 "このルーティンは I<xdrs> で指された XDR ストリーム・オブジェクトを初期化す"
3147 "る。 ストリームのデータは大きさ I<sendsize> のバッファへ書き込まれる。 "
3148 "I<sendsize> をゼロにすると、システムに適切なデフォルトを使用するように指示す"
3149 "る。 ストリームのデータは大きさ I<recvsize> のバッファから読み込まれる。これ"
3150 "もゼロを渡すことで適切なデフォルトに 設定することができる。 ストリームの出力"
3151 "バッファが一杯の場合は I<writeit> が呼び出される。同様にストリーム入力バッ"
3152 "ファが空の場合には I<readit> が呼び出される。これらの二つのルーティンの動作は"
3153 "システムコールの B<read>(2)  や B<write>(2)  と似ているが、前者のルーティンは"
3154 "最初の引き数として I<handle> が渡される点で異なっている。 注意: XDR ストリー"
3155 "ムの I<op> は呼び出し側で設定しなければならない。"
3156
3157 #. type: Plain text
3158 #: build/C/man3/xdr.3:293
3159 msgid ""
3160 "Warning: this XDR stream implements an intermediate record stream.  "
3161 "Therefore there are additional bytes in the stream to provide record "
3162 "boundary information."
3163 msgstr ""
3164 "警告: この XDR ストリームは中間レコード・ストリームを実装している。 レコード"
3165 "境界の情報を提供するためにストリームには余分なバイトが存在する。"
3166
3167 #. type: Plain text
3168 #: build/C/man3/xdr.3:296
3169 #, no-wrap
3170 msgid "B<bool_t xdrrec_endofrecord(XDR *>I<xdrs>B<, int >I<sendnow>B<);>\n"
3171 msgstr "B<bool_t xdrrec_endofrecord(XDR *>I<xdrs>B<, int >I<sendnow>B<);>\n"
3172
3173 #. type: Plain text
3174 #: build/C/man3/xdr.3:305
3175 msgid ""
3176 "This routine can be invoked only on streams created by B<xdrrec_create>().  "
3177 "The data in the output buffer is marked as a completed record, and the "
3178 "output buffer is optionally written out if I<sendnow> is nonzero.  This "
3179 "routine returns one if it succeeds, zero otherwise."
3180 msgstr ""
3181 "このルーティンは B<xdrrec_create>()  によって作成されたストリームに対してのみ"
3182 "呼び出すことができる。 出力バッファのデータは完全なレコードとして印され、 "
3183 "I<sendnow> がゼロでない場合には出力バッファは書き出される。 このルーティンは"
3184 "成功した場合は 1 を返す。失敗した場合はゼロを返す。"
3185
3186 #. type: Plain text
3187 #: build/C/man3/xdr.3:308
3188 #, no-wrap
3189 msgid "B<bool_t xdrrec_eof(XDR *>I<xdrs>B<);>\n"
3190 msgstr "B<bool_t xdrrec_eof(XDR *>I<xdrs>B<);>\n"
3191
3192 #. type: Plain text
3193 #: build/C/man3/xdr.3:315
3194 msgid ""
3195 "This routine can be invoked only on streams created by B<xdrrec_create>().  "
3196 "After consuming the rest of the current record in the stream, this routine "
3197 "returns one if the stream has no more input, zero otherwise."
3198 msgstr ""
3199 "このルーティンは B<xdrrec_create>()  によって作成されたストリームに対してのみ"
3200 "呼び出すことができる。 ストリームの現在のレコードの残りを消費した後に、 スト"
3201 "リームに入力が残っていない場合には 1 を返す。 それ以外の場合はゼロを返す。"
3202
3203 #. type: Plain text
3204 #: build/C/man3/xdr.3:318
3205 #, no-wrap
3206 msgid "B<bool_t xdrrec_skiprecord(XDR *>I<xdrs>B<);>\n"
3207 msgstr "B<bool_t xdrrec_skiprecord(XDR *>I<xdrs>B<);>\n"
3208
3209 #. type: Plain text
3210 #: build/C/man3/xdr.3:326
3211 msgid ""
3212 "This routine can be invoked only on streams created by B<xdrrec_create>().  "
3213 "It tells the XDR implementation that the rest of the current record in the "
3214 "stream's input buffer should be discarded.  This routine returns one if it "
3215 "succeeds, zero otherwise."
3216 msgstr ""
3217 "このルーティンは B<xdrrec_create>()  によって作成されたストリームに対してのみ"
3218 "呼び出すことができる。 XDR の実装にそのストリームの入力バッファーの現在のレ"
3219 "コードの残りを 捨てるように伝える。このルーティンは成功した場合は 1 を返す。 "
3220 "失敗した場合はゼロを返す。"
3221
3222 #. type: Plain text
3223 #: build/C/man3/xdr.3:330
3224 #, no-wrap
3225 msgid ""
3226 "B<bool_t xdr_reference(XDR *>I<xdrs>B<, char **>I<pp>B<, unsigned int >I<size>B<,>\n"
3227 "B<                     xdrproc_t >I<proc>B<);>\n"
3228 msgstr ""
3229 "B<bool_t xdr_reference(XDR *>I<xdrs>B<, char **>I<pp>B<, unsigned int >I<size>B<,>\n"
3230 "B<                     xdrproc_t >I<proc>B<);>\n"
3231
3232 #. type: Plain text
3233 #: build/C/man3/xdr.3:346
3234 msgid ""
3235 "A primitive that provides pointer chasing within structures.  The argument "
3236 "I<pp> is the address of the pointer; I<size> is the I<sizeof> the structure "
3237 "that I<*pp> points to; and I<proc> is an XDR procedure that filters the "
3238 "structure between its C form and its external representation.  This routine "
3239 "returns one if it succeeds, zero otherwise."
3240 msgstr ""
3241 "構造体へのポインター追跡を提供する基本ルーティン。 引き数 I<pp> はポインター"
3242 "のアドレスである。 I<size> は I<*pp> が指している構造体の I<sizeof> である。 "
3243 "I<proc> はその構造体の C 形式と外部表現との変換を行なう XDR プロシジャであ"
3244 "る。 このルーティンは成功した場合 1 を返す。 失敗した場合はゼロを返す。"
3245
3246 #. type: Plain text
3247 #: build/C/man3/xdr.3:351
3248 msgid ""
3249 "Warning: this routine does not understand NULL pointers.  Use B<xdr_pointer>"
3250 "()  instead."
3251 msgstr ""
3252 "警告: このルーティンは NULL ポインターを理解することができない。かわりに "
3253 "B<xdr_pointer>()  を使用すること。"
3254
3255 #. type: Plain text
3256 #: build/C/man3/xdr.3:354
3257 #, no-wrap
3258 msgid "B<xdr_setpos(XDR *>I<xdrs>B<, unsigned int >I<pos>B<);>\n"
3259 msgstr "B<xdr_setpos(XDR *>I<xdrs>B<, unsigned int >I<pos>B<);>\n"
3260
3261 #. type: Plain text
3262 #: build/C/man3/xdr.3:365
3263 msgid ""
3264 "A macro that invokes the set position routine associated with the XDR stream "
3265 "I<xdrs>.  The argument I<pos> is a position value obtained from B<xdr_getpos>"
3266 "().  This routine returns one if the XDR stream could be repositioned, and "
3267 "zero otherwise."
3268 msgstr ""
3269 "このマクロは XDR ストリーム I<xdrs> に関連付けられた位置設定ルーティンを呼び"
3270 "出す。引き数 I<pos> は B<xdr_getpos>()  によって取得される位置数値である。 こ"
3271 "のルーティンは XDR ストリームの位置の変更ができた場合には 1 を返す。 それ以外"
3272 "の場合は 0 を返す。"
3273
3274 #. type: Plain text
3275 #: build/C/man3/xdr.3:369
3276 msgid ""
3277 "Warning: it is difficult to reposition some types of XDR streams, so this "
3278 "routine may fail with one type of stream and succeed with another."
3279 msgstr ""
3280 "警告: ある種の XDR ストリームの場合は位置の変更を行なうことが困難である。 そ"
3281 "れでこのルーティンはある種のストリームの場合には成功し、別の種類の 場合には失"
3282 "敗するかもしれない。"
3283
3284 #. type: Plain text
3285 #: build/C/man3/xdr.3:372
3286 #, no-wrap
3287 msgid "B<bool_t xdr_short(XDR *>I<xdrs>B<, short *>I<sp>B<);>\n"
3288 msgstr "B<bool_t xdr_short(XDR *>I<xdrs>B<, short *>I<sp>B<);>\n"
3289
3290 #. type: Plain text
3291 #: build/C/man3/xdr.3:378
3292 msgid ""
3293 "A filter primitive that translates between C I<short> integers and their "
3294 "external representations.  This routine returns one if it succeeds, zero "
3295 "otherwise."
3296 msgstr ""
3297 "C の I<short> 整数とその外部表現との変換を行なう基本フィルター。 このルーティ"
3298 "ンは成功すると 1 を返す。 失敗した場合はゼロを返す。"
3299
3300 #. type: Plain text
3301 #: build/C/man3/xdr.3:381
3302 #, no-wrap
3303 msgid "B<void xdrstdio_create(XDR *>I<xdrs>B<, FILE *>I<file>B<, enum xdr_op >I<op>B<);>\n"
3304 msgstr "B<void xdrstdio_create(XDR *>I<xdrs>B<, FILE *>I<file>B<, enum xdr_op >I<op>B<);>\n"
3305
3306 #. type: Plain text
3307 #: build/C/man3/xdr.3:396
3308 msgid ""
3309 "This routine initializes the XDR stream object pointed to by I<xdrs>.  The "
3310 "XDR stream data is written to, or read from, the I<stdio> stream I<file>.  "
3311 "The argument I<op> determines the direction of the XDR stream (either "
3312 "B<XDR_ENCODE>, B<XDR_DECODE>, or B<XDR_FREE>)."
3313 msgstr ""
3314 "このルーティンは I<xdrs> で指された XDR ストリーム・オブジェクトを初期化す"
3315 "る。 XDR ストリームに読み書きれたデータは I<stdio> ストリーム I<file> が使用"
3316 "される。 I<op> 引き数は XDR ストリームの変換方向を決定する (B<XDR_ENCODE>, "
3317 "B<XDR_DECODE>, B<XDR_FREE> のどれか)。"
3318
3319 #. type: Plain text
3320 #: build/C/man3/xdr.3:403
3321 msgid ""
3322 "Warning: the destroy routine associated with such XDR streams calls B<fflush>"
3323 "(3)  on the I<file> stream, but never B<fclose>(3)."
3324 msgstr ""
3325 "警告: このような XDR ストリームに関連付けられた破壊ルーティンは I<file> スト"
3326 "リームに対して B<fflush>(3)  を呼び出すが B<fclose>(3)  を呼び出すことはな"
3327 "い。"
3328
3329 #. type: Plain text
3330 #: build/C/man3/xdr.3:406
3331 #, no-wrap
3332 msgid "B<bool_t xdr_string(XDR *>I<xdrs>B<, char **>I<sp>B<, unsigned int >I<maxsize>B<);>\n"
3333 msgstr "B<bool_t xdr_string(XDR *>I<xdrs>B<, char **>I<sp>B<, unsigned int >I<maxsize>B<);>\n"
3334
3335 #. type: Plain text
3336 #: build/C/man3/xdr.3:416
3337 msgid ""
3338 "A filter primitive that translates between C strings and their corresponding "
3339 "external representations.  Strings cannot be longer than I<maxsize>.  Note: "
3340 "I<sp> is the address of the string's pointer.  This routine returns one if "
3341 "it succeeds, zero otherwise."
3342 msgstr ""
3343 "C の文字列とそれに対応する外部表現とを変換するための基本フィルター。 文字列"
3344 "は I<maxsize> より長くはできない。 注意: I<sp> は文字列へのポインターのアドレ"
3345 "スである。 このルーティンは成功した場合は 1 を返す。 失敗した場合はゼロを返"
3346 "す。"
3347
3348 #. type: Plain text
3349 #: build/C/man3/xdr.3:419
3350 #, no-wrap
3351 msgid "B<bool_t xdr_u_char(XDR *>I<xdrs>B<, unsigned char *>I<ucp>B<);>\n"
3352 msgstr "B<bool_t xdr_u_char(XDR *>I<xdrs>B<, unsigned char *>I<ucp>B<);>\n"
3353
3354 #. type: Plain text
3355 #: build/C/man3/xdr.3:425
3356 msgid ""
3357 "A filter primitive that translates between I<unsigned> C characters and "
3358 "their external representations.  This routine returns one if it succeeds, "
3359 "zero otherwise."
3360 msgstr ""
3361 "C の I<符号無し文字 (unsigned char)> とその外部表現とを変換する基本フィル"
3362 "ター。 このルーティンは成功した場合は 1 を返す。 失敗した場合はゼロを返す。"
3363
3364 #. type: Plain text
3365 #: build/C/man3/xdr.3:428
3366 #, no-wrap
3367 msgid "B<bool_t xdr_u_int(XDR *>I<xdrs>B<, unsigned *>I<up>B<);>\n"
3368 msgstr "B<bool_t xdr_u_int(XDR *>I<xdrs>B<, unsigned *>I<up>B<);>\n"
3369
3370 #. type: Plain text
3371 #: build/C/man3/xdr.3:434
3372 msgid ""
3373 "A filter primitive that translates between C I<unsigned> integers and their "
3374 "external representations.  This routine returns one if it succeeds, zero "
3375 "otherwise."
3376 msgstr ""
3377 "C の I<符号無し整数 (unsigned)> とその外部表現を変換するための基本フィル"
3378 "ター。 このルーティンは成功した場合は 1 を返す。 失敗した場合はゼロを返す。"
3379
3380 #. type: Plain text
3381 #: build/C/man3/xdr.3:437
3382 #, no-wrap
3383 msgid "B<bool_t xdr_u_long(XDR *>I<xdrs>B<, unsigned long *>I<ulp>B<);>\n"
3384 msgstr "B<bool_t xdr_u_long(XDR *>I<xdrs>B<, unsigned long *>I<ulp>B<);>\n"
3385
3386 #. type: Plain text
3387 #: build/C/man3/xdr.3:443
3388 msgid ""
3389 "A filter primitive that translates between C I<unsigned long> integers and "
3390 "their external representations.  This routine returns one if it succeeds, "
3391 "zero otherwise."
3392 msgstr ""
3393 "C の I<unsigned long> 整数とその外部表現を変換するための基本フィルター。 この"
3394 "ルーティンは成功した場合は 1 を返す。 失敗した場合はゼロを返す。"
3395
3396 #. type: Plain text
3397 #: build/C/man3/xdr.3:446
3398 #, no-wrap
3399 msgid "B<bool_t xdr_u_short(XDR *>I<xdrs>B<, unsigned short *>I<usp>B<);>\n"
3400 msgstr "B<bool_t xdr_u_short(XDR *>I<xdrs>B<, unsigned short *>I<usp>B<);>\n"
3401
3402 #. type: Plain text
3403 #: build/C/man3/xdr.3:452
3404 msgid ""
3405 "A filter primitive that translates between C I<unsigned short> integers and "
3406 "their external representations.  This routine returns one if it succeeds, "
3407 "zero otherwise."
3408 msgstr ""
3409 "C の I<unsigned short> 整数とその外部表現を変換するための基本フィルター。 こ"
3410 "のルーティンは成功した場合は 1 を返す。 失敗した場合はゼロを返す。"
3411
3412 #. type: Plain text
3413 #: build/C/man3/xdr.3:457
3414 #, no-wrap
3415 msgid ""
3416 "B<bool_t xdr_union(XDR *>I<xdrs>B<, int *>I<dscmp>B<, char *>I<unp>B<,>\n"
3417 "B<                 struct xdr_discrim *>I<choices>B<,>\n"
3418 "B<                 xdrproc_t >I<defaultarm>B<);     /* may equal NULL */>\n"
3419 msgstr ""
3420 "B<bool_t xdr_union(XDR *>I<xdrs>B<, int *>I<dscmp>B<, char *>I<unp>B<,>\n"
3421 "B<                 struct xdr_discrim *>I<choices>B<,>\n"
3422 "B<                 xdrproc_t >I<defaultarm>B<);     /* may equal NULL */>\n"
3423
3424 #. type: Plain text
3425 #: build/C/man3/xdr.3:491
3426 msgid ""
3427 "A filter primitive that translates between a discriminated C I<union> and "
3428 "its corresponding external representation.  It first translates the "
3429 "discriminant of the union located at I<dscmp>.  This discriminant is always "
3430 "an I<enum_t>.  Next the union located at I<unp> is translated.  The argument "
3431 "I<choices> is a pointer to an array of B<xdr_discrim>()  structures.  Each "
3432 "structure contains an ordered pair of [I<value>,I<proc>].  If the union's "
3433 "discriminant is equal to the associated I<value>, then the I<proc> is called "
3434 "to translate the union.  The end of the B<xdr_discrim>()  structure array is "
3435 "denoted by a routine of value NULL.  If the discriminant is not found in the "
3436 "I<choices> array, then the I<defaultarm> procedure is called (if it is not "
3437 "NULL).  Returns one if it succeeds, zero otherwise."
3438 msgstr ""
3439 "分別可能な C の I<共用体 (union)> とその外部形式とを変換する基本フィルター。 "
3440 "最初に I<dscmp> として与えられた共用体の分別要素が変換される。 この分別要素は"
3441 "常に I<enum_t> である。 次に I<unp> の位置の共用体が変換される。引き数 "
3442 "I<choices> は B<xdr_discrim>()  構造体の配列へのポインターである。各構造体は "
3443 "[I<value>,I<proc>] の順序付きペアを格納している。 もし共用体の分別要素が関連"
3444 "付けられた I<value> と等しい場合には、共用体を変換するために I<proc> が呼び出"
3445 "される。 B<xdr_discrim>()  構造体の配列の最後は、値 NULL のルーティン を指定"
3446 "することで示される。 分別要素が I<choices> 配列の中に見つからなかった場合、 "
3447 "I<defaultarm> が (NULL でなければ) 呼び出される。 成功した場合は 1 を返す。失"
3448 "敗した場合はゼロを返す。"
3449
3450 #. type: Plain text
3451 #: build/C/man3/xdr.3:495
3452 #, no-wrap
3453 msgid ""
3454 "B<bool_t xdr_vector(XDR *>I<xdrs>B<, char *>I<arrp>B<, unsigned int >I<size>B<,>\n"
3455 "B<                  unsigned int >I<elsize>B<, xdrproc_t >I<elproc>B<);>\n"
3456 msgstr ""
3457 "B<bool_t xdr_vector(XDR *>I<xdrs>B<, char *>I<arrp>B<, unsigned int >I<size>B<,>\n"
3458 "B<                  unsigned int >I<elsize>B<, xdrproc_t >I<elproc>B<);>\n"
3459
3460 #. type: Plain text
3461 #: build/C/man3/xdr.3:514
3462 msgid ""
3463 "A filter primitive that translates between fixed-length arrays and their "
3464 "corresponding external representations.  The argument I<arrp> is the address "
3465 "of the pointer to the array, while I<size> is the element count of the "
3466 "array.  The argument I<elsize> is the I<sizeof> each of the array's "
3467 "elements, and I<elproc> is an XDR filter that translates between the array "
3468 "elements' C form, and their external representation.  This routine returns "
3469 "one if it succeeds, zero otherwise."
3470 msgstr ""
3471 "固定長の配列とそれらが対応する外部表現とを変換する基本フィルター。 引き数 "
3472 "I<arrp> は配列へのポインターのアドレスである。一方で I<size> は配列の要素数そ"
3473 "のものである。引き数 I<elsize> は配列の各要素の I<sizeof> で、 I<elproc> は配"
3474 "列の要素を C 形式からその外部表現へと変換する XDR フィルターである。 このルー"
3475 "ティンは成功した場合 1 を返す。 失敗した場合はゼロを返す。"
3476
3477 #. type: Plain text
3478 #: build/C/man3/xdr.3:517
3479 #, no-wrap
3480 msgid "B<bool_t xdr_void(void);>\n"
3481 msgstr "B<bool_t xdr_void(void);>\n"
3482
3483 #. type: Plain text
3484 #: build/C/man3/xdr.3:522
3485 msgid ""
3486 "This routine always returns one.  It may be passed to RPC routines that "
3487 "require a function argument, where nothing is to be done."
3488 msgstr ""
3489 "このルーティンは常に 1 を返す。 これは何も行なわないが、関数引き数が必要な "
3490 "RPC ルーティンに渡すことができる。"
3491
3492 #. type: Plain text
3493 #: build/C/man3/xdr.3:525
3494 #, no-wrap
3495 msgid "B<bool_t xdr_wrapstring(XDR *>I<xdrs>B<, char **>I<sp>B<);>\n"
3496 msgstr "B<bool_t xdr_wrapstring(XDR *>I<xdrs>B<, char **>I<sp>B<);>\n"
3497
3498 #. type: Plain text
3499 #: build/C/man3/xdr.3:538
3500 msgid ""
3501 "A primitive that calls B<xdr_string(xdrs, sp,MAXUN.UNSIGNED );> where "
3502 "B<MAXUN.UNSIGNED> is the maximum value of an unsigned integer.  "
3503 "B<xdr_wrapstring>()  is handy because the RPC package passes a maximum of "
3504 "two XDR routines as arguments, and B<xdr_string>(), one of the most "
3505 "frequently used primitives, requires three.  Returns one if it succeeds, "
3506 "zero otherwise."
3507 msgstr ""
3508 "B<xdr_string(xdrs, sp, \\s-1MAXUN.UNSIGNED\\s0 );> を呼び出す基本ルーティ"
3509 "ン。 ここで B<MAXUN.UNSIGNED> は符号無し整数(unsigned int)の最大値である。 "
3510 "B<xdr_wrapstring>()  は、 RPC パッケージは二つの XDR ルーティンの最大値を引き"
3511 "数として渡すため便利である。 B<xdr_string>()  は最も頻繁に利用される基本ルー"
3512 "ティンであるが三つを要求する。 成功した場合は 1 を返す、失敗した場合はゼロを"
3513 "返す。"
3514
3515 #. type: Plain text
3516 #: build/C/man3/xdr.3:540
3517 msgid "B<rpc>(3)"
3518 msgstr "B<rpc>(3)"
3519
3520 #. type: Plain text
3521 #: build/C/man3/xdr.3:544
3522 msgid "eXternal Data Representation Standard: Protocol Specification"
3523 msgstr "eXternal Data Representation Standard: Protocol Specification"
3524
3525 #. type: Plain text
3526 #: build/C/man3/xdr.3:546
3527 msgid "eXternal Data Representation: Sun Technical Notes"
3528 msgstr "eXternal Data Representation: Sun Technical Notes"
3529
3530 #. type: Plain text
3531 #: build/C/man3/xdr.3:550
3532 msgid ""
3533 "I<XDR: External Data Representation Standard>, RFC\\ 1014, Sun Microsystems, "
3534 "Inc., USC-ISI."
3535 msgstr ""
3536 "I<XDR: External Data Representation Standard>, RFC\\ 1014, Sun Microsystems, "
3537 "Inc., USC-ISI."