File: getrpcent.3

package info (click to toggle)
manpages-ja 0.5.0.0.20100315-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 21,156 kB
  • ctags: 1
  • sloc: sh: 13,935; perl: 157; makefile: 114
file content (104 lines) | stat: -rw-r--r-- 2,472 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
.\" This page was taken from the 4.4BSD-Lite CDROM (BSD license)
.\"
.\" @(#)getrpcent.3n	2.2 88/08/02 4.0 RPCSRC; from 1.11 88/03/14 SMI
.\"
.\" Japanese Version Copyright (c) 1999 HANATAKA Shinya
.\"         all rights reserved.
.\" Translated 2000-01-11, HANATAKA Shinya <hanataka@abyss.rim.or.jp>
.\" Updated 2008-09-19, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
.\"
.TH GETRPCENT 3 2008-08-19 "" "Linux Programmer's Manual"
.SH ̾
getrpcent, getrpcbyname, getrpcbynumber, setrpcent, endrpcent \-
RPC ȥ
.SH 
.nf
.B #include <netdb.h>

.BI "struct rpcent *getrpcent(void);"

.BI "struct rpcent *getrpcbyname(char *" name );

.BI "struct rpcent *getrpcbynumber(int " number );

.BI "void setrpcent(int " stayopen );

.BI "void endrpcent(void);"
.fi
.SH 
.LP
.BR getrpcent (),
.BR getrpcbyname (),
.BR getrpcbynumber ()
Ϥ줾ʲι¤ΤؤΥݥ󥿤֤
ι¤Τ RPC ץֹǡ١
γƹԤΥեɤޤǤ롣
.in +4n
.nf

struct rpcent {
    char  *r_name;     /* name of server for this RPC program */
    char **r_aliases;  /* alias list */
    long   r_number;   /* RPC program number */
};
.fi
.in
.LP
ι¤ΤΥСϰʲ̤ꡣ
.RS 4
.TP 12
.I r_name
 RPC ץΥФ̾
.TP
.I r_aliases
RPC ץ̾ΥꥹȡǽüƤ롣
.TP
.I r_number
Υӥ RPC ץֹ档
.RE
.LP
.BR getrpcent ()
ϥեμΥȥɤ߹ࡣ
ɬפʤХǡ١ؤ³ץ󤵤롣
.LP
.BR setrpcent ()
ϥǡ١ؤ³򥪡ץ󤷡
ɤ߹ߥȥƬΥȥꤹ롣
\fIstayopen\fP  0 Ǥʤ硢
İĤ
.BR getrpc* ()
ؿθƤӽФ֤ǥǡ١ؤ³򥯥ʤ
.LP
.BR endrpcent ()
ϥǡ١ؤ³򥯥롣
.LP
.BR getrpcbyname ()

.BR getrpcbynumber ()
ϥեκǽ餫פ RPC ץ̾ץֹ椬
Ĥ뤫եκǸ (end-of-file) ãޤǡ֤
õƤ
.SH ֤
ȡ
.BR getrpcent (),
.BR getrpcbyname (),
.BR getrpcbynumber ()
ϡŪ˳Ƥ줿
.I rpcent
¤ΤؤΥݥ󥿤֤
EOF  顼ˤ NULL ݥ󥿤֤
.SH ե
.TP
.I /etc/rpc
RPC ץֹǡ١
.SH 
POSIX.1-2001 ˤϤʤ
BSD ϡSolaris ¾¿Υƥ¸ߤ롣
.SH Х
ƤξŪΰ˳Ǽ롣
¸뤿ˤƤ򥳥ԡɬפ롣
.SH Ϣ
.BR getrpcent_r (3),
.BR rpc (5),
.BR rpcinfo (8),
.BR ypserv (8)