OSDN Git Service

(split) Import translated manuals from JM CVS Repository.
[linuxjm/LDP_man-pages.git] / draft / man3 / recno.3
1 .\" Copyright (c) 1990, 1993
2 .\"     The Regents of the University of California.  All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\"    must display the following acknowledgement:
14 .\"     This product includes software developed by the University of
15 .\"     California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\"    may be used to endorse or promote products derived from this software
18 .\"    without specific prior written permission.
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" SUCH DAMAGE.
31 .\"
32 .\"     @(#)recno.3     8.5 (Berkeley) 8/18/94
33 .\"
34 .\" Japanese Version Copyright (c) 1999 Shouichi Saito
35 .\"     all rights reserved.
36 .\" Translated Mon Jul 26 12:18:39 JST 1999
37 .\"     by Shouichi Saito <ss236rx@ymg.urban.ne.jp>
38 .\" Proofed Tue Aug 19 1999 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
39 .\"
40 .\"WORD:        access method           ¥¢¥¯¥»¥¹¥á¥½¥Ã¥É
41 .\"WORD:        pad character           Ëä¤áʸ»ú
42 .TH RECNO 3 1994-08-18 "" "Linux Programmer's Manual"
43 .UC 7
44 .SH Ì¾Á°
45 .\"O recno \- record number database access method
46 recno \- ¥ì¥³¡¼¥ÉÈÖ¹æ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ø¤Î¥¢¥¯¥»¥¹¥á¥½¥Ã¥É
47 .SH ½ñ¼°
48 .nf
49 .ft B
50 #include <sys/types.h>
51 #include <db.h>
52 .ft R
53 .fi
54 .SH ÀâÌÀ
55 .\"O The routine
56 .\"O .BR dbopen (3)
57 .\"O is the library interface to database files.
58 ¥ë¡¼¥Á¥ó
59 .BR dbopen (3)
60 ¤Ï¥Ç¡¼¥¿¥Ù¡¼¥¹¥Õ¥¡¥¤¥ë¤ËÂФ¹¤ë¥é¥¤¥Ö¥é¥ê¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Ç¤¢¤ë¡£
61 .\"O One of the supported file formats is record number files.
62 .\"O The general description of the database access methods is in
63 .\"O .BR dbopen (3),
64 .\"O this manual page describes only the recno specific information.
65 ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥Õ¥©¡¼¥Þ¥Ã¥È¤Î°ì¤Ä¤Ë¡¢
66 ¥ì¥³¡¼¥ÉÈÖ¹æ¥Õ¥¡¥¤¥ë (record number file: recno file) ¤¬¤¢¤ë¡£
67 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ø¤Î¥¢¥¯¥»¥¹¥á¥½¥Ã¥É¤Ë´Ø¤¹¤ë°ìÈÌŪ¤Êµ­½Ò¤Ï
68 .BR dbopen (3),
69 ¤Ë½ñ¤«¤ì¤Æ¤¤¤ë¡£
70 ¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ç¤Ï recno ÆÃÍ­¤Î¾ðÊó¤Ë¤Ä¤¤¤Æ¤Î¤ßµ­½Ò¤¹¤ë¡£
71 .PP
72 .\"O The record number data structure is either variable or fixed-length
73 .\"O records stored in a flat-file format, accessed by the logical record
74 .\"O number.
75 ¥ì¥³¡¼¥ÉÈÖ¹æ¥Ç¡¼¥¿¹½Â¤¤Ï¡¢¥Õ¥é¥Ã¥È¤Ê¥Õ¥¡¥¤¥ë·Á¼°¤Ë³ÊǼ¤µ¤ì¤¿
76 ²ÄÊÑĹ/¸ÇÄêĹ¥ì¥³¡¼¥É¤«¤é¤Ê¤ê¡¢ÏÀÍý¥ì¥³¡¼¥ÉÈÖ¹æ¤Ç¥¢¥¯¥»¥¹¤µ¤ì¤ë¡£
77 .\"O The existence of record number five implies the existence of records
78 .\"O one through four, and the deletion of record number one causes
79 .\"O record number five to be renumbered to record number four, as well
80 .\"O as the cursor, if positioned after record number one, to shift down
81 .\"O one record.
82 ¥ì¥³¡¼¥ÉÈÖ¹æ 5 ¤¬¤¢¤ì¤Ð¡¢¥ì¥³¡¼¥ÉÈÖ¹æ 1 ¤«¤é 4 ¤â¸ºß¤¹¤ë¡£
83 ¥ì¥³¡¼¥ÉÈÖ¹æ 1 ¤òºï½ü¤¹¤ë¤È¡¢¥ì¥³¡¼¥ÉÈÖ¹æ 5 ¤Ï 4 ¤ËÉÕ¤±Âؤ¨¤é¤ì¡¢
84 ¥«¡¼¥½¥ë¤â°ÜÆ°¤¹¤ë¡£¥ì¥³¡¼¥ÉÈÖ¹æ 1 °Ê¹ß¤Î¤â¤Î¤Ï°ì¤Ä·«¤ê¾å¤¬¤ë¤ï¤±¤Ç¤¢¤ë¡£
85 .PP
86 .\"O The recno access method specific data structure provided to
87 .\"O .BR dbopen (3)
88 .\"O is defined in the
89 .\"O .I <db.h>
90 .\"O include file as follows:
91 .BR dbopen (3)
92 ¤Ç»È¤¦ recno ¥¢¥¯¥»¥¹¥á¥½¥Ã¥É¤ËÆÃÍ­¤Î¥Ç¡¼¥¿¹½Â¤ÂΤϡ¢
93 .I <db.h>
94 ¥¤¥ó¥¯¥ë¡¼¥É¥Õ¥¡¥¤¥ë¤Ç¼¡¤Î¤è¤¦¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ë¡£
95 .PP
96 .in +4n
97 .nf
98 typedef struct {
99     unsigned long flags;
100     unsigned int  cachesize;
101     unsigned int  psize;
102     int           lorder;
103     size_t        reclen;
104     unsigned char bval;
105     char         *bfname;
106 } RECNOINFO;
107 .fi
108 .in
109 .PP
110 .\"O The elements of this structure are defined as follows:
111 ¤³¤Î¹½Â¤ÂΤÎÍ×ÁǤò°Ê²¼¤Ë¼¨¤¹¡£
112 .TP
113 flags
114 .\"O The flag value is specified by
115 .\"O .IR or 'ing
116 .\"O any of the following values:
117 flag ¤ÎÃͤÏ
118 °Ê²¼¤ÎÃͤΤ¤¤º¤ì¤«¤«¡¢¤³¤ì¤é¤ÎÏÀÍýϤǻØÄꤵ¤ì¤ë¡£
119 .RS
120 .TP
121 .B R_FIXEDLEN
122 .\"O The records are fixed-length, not byte delimited.
123 ¥ì¥³¡¼¥ÉŤ¬¸ÇÄê¤Ç¤¢¤ê¡¢¥Ð¥¤¥È¶èÀÚ¤ê¤Ç¤Ï¤Ê¤¤¡£
124 .\"O The structure element
125 .\"O .I reclen
126 .\"O specifies the length of the record, and the structure element
127 .\"O .I bval
128 .\"O is used as the pad character.
129 ¹½Â¤ÂΤÎÍ×ÁÇ
130 .I reclen
131 ¤Ï¥ì¥³¡¼¥É¤ÎŤµ¤ò»ØÄꤹ¤ë¡£¤Þ¤¿¡¢Í×ÁÇ
132 .I bval
133 ¤ÏËä¤áʸ»ú (pad character) ¤ò»ØÄꤹ¤ë¡£
134 .\"O Any records, inserted into the database, that are less than
135 .\"O .I reclen
136 .\"O bytes long are automatically padded.
137 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËÆþ¤ì¤é¤ì¤¿¥ì¥³¡¼¥É¤ÎÆâ
138 .I reclen
139 ¥Ð¥¤¥È¤ËËþ¤¿¤Ê¤¤¤â¤Î¤Ç¤Ï¡¢»Ä¤ê¤ÎÉôʬ¤ËËä¤áʸ»ú¤¬¼«Æ°Åª¤ËÆþ¤ë¡£
140 .TP
141 .B R_NOKEY
142 .\"O In the interface specified by
143 .\"O .BR dbopen (3),
144 .\"O the sequential record retrieval fills in both the caller's key and
145 .\"O data structures.
146 .BR dbopen (3)
147 ¤Ç»ØÄꤵ¤ì¤¿¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹¤Ç¤Ï¡¢¥·¡¼¥±¥ó¥·¥ã¥ë¤Ê¥ì¥³¡¼¥É¼èÆÀ¤Ï
148 ¸Æ¤Ó½Ð¤·¥­¡¼¤È¥Ç¡¼¥¿¹½Â¤ÂΤÎξÊý¤òËä¤á¤Æ¤¤¤¯¡£
149 .\"O If the
150 .\"O .B R_NOKEY
151 .\"O flag is specified, the
152 .\"O .I cursor
153 .\"O routines are not required to fill in the key structure.
154 .\"O This permits applications to retrieve records at the end of files without
155 .\"O reading all of the intervening records.
156 .B R_NOKEY
157 ¥Õ¥é¥°¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤È¡¢¥­¡¼¹½Â¤ÂΤòËä¤á¤ë¤Î¤Ë
158 .I cursor
159 ¥ë¡¼¥Á¥ó¤òɬÍפȤ·¤Ê¤¤¡£
160 ¤³¤ì¤òÍѤ¤¤ì¤Ð¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬¥Õ¥¡¥¤¥ë¤Î½ª¤ê¤ÎÊý¤ò¼èÆÀ¤¹¤ëºÝ¤Ë¡¢
161 ¤½¤ÎÅÓÃæ¤Î¥ì¥³¡¼¥É¤òÆɤޤʤ¯¤Æ¤âºÑ¤à»ö¤Ë¤Ê¤ë¡£
162 .TP
163 .B R_SNAPSHOT
164 .\"O This flag requires that a snapshot of the file be taken when
165 .\"O .BR dbopen (3)
166 .\"O is called, instead of permitting any unmodified records to be read from
167 .\"O the original file.
168 ¤³¤Î¥Õ¥é¥°¤ò»ØÄꤹ¤ë¤È¡¢
169 .BR dbopen (3)
170 ¤Î¸Æ¤Ó½Ð¤·¤ÎºÝ¡¢
171 ¥ª¥ê¥¸¥Ê¥ë¥Õ¥¡¥¤¥ë¤«¤éÊѹ¹¤µ¤ì¤Æ¤¤¤Ê¤¤¥ì¥³¡¼¥É¤òÆɤàÂå¤ï¤ê¤Ë¡¢
172 ¥Õ¥¡¥¤¥ë¤Î snapshot ¤òÍѤ¤¤ë¡£
173 .RE
174 .TP
175 .I cachesize
176 .\"O A suggested maximum size, in bytes, of the memory cache.
177 .\"O This value is
178 .\"O .B only
179 .\"O advisory, and the access method will allocate more memory rather than fail.
180 .\"O If
181 .\"O .I cachesize
182 .\"O is  0 (no size is specified) a default cache is used.
183 ÁÛÄꤵ¤ì¤ë¥á¥â¥ê¥­¥ã¥Ã¥·¥å¤ÎºÇÂ祵¥¤¥º (¥Ð¥¤¥Èñ°Ì)¡£
184 ¤³¤ÎÃͤÏ
185 .B ¤¢¤¯¤Þ¤Ç
186 »²¹Í¤Ç¤¢¤ê¡¢¥¢¥¯¥»¥¹¥á¥½¥Ã¥É¤Ï¤³¤ÎÃͤò±Û¤¨¤¿¥á¥â¥ê¤Î
187 ³ä¤êÅö¤Æ¤ËÀ®¸ù¤¹¤ë¤³¤È¤â¤¢¤ë¡£
188 .I cachesize
189 ¤¬ 0 (¤¢¤ë¤¤¤Ï»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤) ¤Î¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥­¥ã¥Ã¥·¥å¤¬»È¤ï¤ì¤ë¡£
190 .TP
191 .I psize
192 .\"O The recno access method stores the in-memory copies of its records
193 .\"O in a btree.
194 .\"O This value is the size (in bytes) of the pages used for nodes in that tree.
195 recno ¥¢¥¯¥»¥¹¥á¥½¥Ã¥É¤Ï¡¢¼«¿È¤Î¥ì¥³¡¼¥É¤Î¥³¥Ô¡¼¤ò¥á¥â¥êÆâÉô¤Ë
196 btree ¤ÇÊݸ¤·¤Æ¤¤¤ë¡£
197 ¤³¤ÎÃͤϡ¢¤½¤Î btree Ãæ¤Î¥Î¡¼¥É¤ËÂФ·¤ÆÍѤ¤¤é¤ì¤ë
198 ¥Ú¡¼¥¸¥µ¥¤¥º (¥Ð¥¤¥Èñ°Ì) ¤Ç¤¢¤ë¡£
199 .\"O If
200 .\"O .I psize
201 .\"O is 0 (no page size is specified) a page size is chosen based on the
202 .\"O underlying file system I/O block size.
203 .\"O See
204 .\"O .BR btree (3)
205 .\"O for more information.
206 .I psize
207 ¤¬ 0 (¤¢¤ë¤¤¤Ï»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤) ¤Î¾ì¹ç¡¢
208 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î I/O ¥Ö¥í¥Ã¥¯¥µ¥¤¥º¤ò´ð¤Ë¤·¤Æ
209 ¥Ú¡¼¥¸¥µ¥¤¥º¤¬·è¤á¤é¤ì¤ë¡£
210 ¾ÜºÙ¤Ï
211 .BR btree (3)
212 ¤ò»²¾È¡£
213 .TP
214 .I lorder
215 .\"O The byte order for integers in the stored database metadata.
216 .\"O The number should represent the order as an integer; for example,
217 .\"O big endian order would be the number 4,321.
218 .\"O If
219 .\"O .I lorder
220 .\"O is 0 (no order is specified) the current host order is used.
221 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë³ÊǼ¤µ¤ì¤Æ¤¤¤ë¥á¥¿¥Ç¡¼¥¿¤ÎÀ°¿ôÃͤΥХ¤¥È¥ª¡¼¥À¡¼¡£
222 ¤³¤Î¿ô»ú¤Ï¡¢½ç½ø¤òÀ°¿ô¤Çɽ¤·¤¿¤â¤Î¤Ç¤¢¤ë¡£
223 Î㤨¤Ð¥Ó¥Ã¥°¥¨¥ó¥Ç¥£¥¢¥ó¤Ê¤é¡¢¤³¤Î¿ôÃͤϠ4,321 ¤È¤Ê¤ë¡£
224 .I lorder
225 ¤¬ 0 (»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤) ¤Î¾ì¹ç¡¢¸½ºß¤Î¥Û¥¹¥È
226 ¤Ç»È¤ï¤ì¤Æ¤¤¤ë¥Ð¥¤¥È¥ª¡¼¥À¡¼¤¬»È¤ï¤ì¤ë¡£
227 .TP
228 .I reclen
229 .\"O The length of a fixed-length record.
230 ¸ÇÄê¥ì¥³¡¼¥ÉŤÎŤµ¡£
231 .TP
232 .I bval
233 .\"O The delimiting byte to be used to mark the end of a record for
234 .\"O variable-length records, and the pad character for fixed-length
235 .\"O records.
236 ²ÄÊѥ쥳¡¼¥ÉŤˤª¤¤¤Æ¡¢
237 ¥ì¥³¡¼¥É¤Î½ª¤ê¤ò¼¨¤¹¶èÀÚ¤ê¥Ð¥¤¥È (¶èÀÚ¤êʸ»ú) ¤Ç¤¢¤ë¡£
238 ¸ÇÄê¥ì¥³¡¼¥ÉŤǤÏËä¤áʸ»ú¤È¤·¤Æ»È¤ï¤ì¤ë¡£
239 .\"O If no value is specified, newlines ("\en") are used to mark the end
240 .\"O of variable-length records and fixed-length records are padded with
241 .\"O spaces.
242 Ãͤ¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤È¡¢
243 ²ÄÊѥ쥳¡¼¥ÉĹ¤Î¥ì¥³¡¼¥É¤Î½ª¤ê¤Ë¤Ï²þ¹Ô ("\en") ¤¬»È¤ï¤ì¤ë¡£
244 ¸ÇÄê¥ì¥³¡¼¥ÉĹ¤Î¥ì¥³¡¼¥É¤Ï¶õÇò (space) ¤ÇËä¤á¤é¤ì¤ë¡£
245 .TP
246 .I bfname
247 .\"O The recno access method stores the in-memory copies of its records
248 .\"O in a btree.
249 .\"O If
250 .\"O .I bfname
251 .\"O is non-NULL, it specifies the name of the btree file,
252 .\"O as if specified as the filename for a
253 .\"O .BR dbopen (3)
254 .\"O of a btree file.
255 recno ¥¢¥¯¥»¥¹¥á¥½¥Ã¥É¤Ï¡¢
256 ¼«¿È¤Î¥ì¥³¡¼¥É¤Î¥³¥Ô¡¼¤ò¥á¥â¥êÆâÉô¤Ç btree ¤ËÊݸ¤·¤Æ¤¤¤ë¡£
257 .I bfname
258 ¤¬ NULL ¤Ç¤Ê¤¤¾ì¹ç¡¢¤³¤ì¤Ï btree ¥Õ¥¡¥¤¥ë̾
259 (btree ¥Õ¥¡¥¤¥ë¤ò
260 .BR dbopen (3)
261 ¤¹¤ë»þ¤Ë»ØÄꤹ¤ë¥Õ¥¡¥¤¥ë̾) ¤ò»ØÄꤹ¤ë¡£
262 .PP
263 .\"O The data part of the key/data pair used by the
264 .\"O .I recno
265 .\"O access method
266 .\"O is the same as other access methods.
267 .I recno
268 ¥¢¥¯¥»¥¹¥á¥½¥Ã¥É¤Ç»È¤ï¤ì¤ë¥­¡¼/¥Ç¡¼¥¿ÂФΥǡ¼¥¿Éôʬ¤Ï¡¢
269 ¾¤Î¥¢¥¯¥»¥¹¥á¥½¥Ã¥É¤ÈƱ¤¸¤Ç¤¢¤ë¡£
270 .\"O The key is different.
271 .\"O The
272 .\"O .I data
273 .\"O field of the key should be a pointer to a memory location of type
274 .\"O .IR recno_t ,
275 .\"O as defined in the
276 .\"O .I <db.h>
277 .\"O include file.
278 ¤·¤«¤·¥­¡¼¤Ï°Û¤Ê¤Ã¤Æ¤¤¤ë¡£
279 ¥­¡¼¤Î
280 .I data
281 ¥Õ¥£¡¼¥ë¥É¤Ï
282 .I recno_t
283 ·¿¤Î¡¢¥á¥â¥ê°ÌÃ֤ؤΥݥ¤¥ó¥¿¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
284 .I recno_t
285 ¤Ï
286 .I <db.h>
287 ¥¤¥ó¥¯¥ë¡¼¥É¥Õ¥¡¥¤¥ë¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¡£
288 .\"O This type is normally the largest unsigned integral type available to
289 .\"O the implementation.
290 ¤³¤Î·¿¤ÏÄ̾¤½¤Î¼ÂÁõ¤ÇÍøÍѲÄǽ¤ÊºÇÂç¤ÎÉä¹æ̵¤·À°¿ô¤Ç¤¢¤ë¡£
291 .\"O The
292 .\"O .I size
293 .\"O field of the key should be the size of that type.
294 ¥­¡¼¤Î
295 .I size
296 ¥Õ¥£¡¼¥ë¥É¤Ï¤½¤Î·¿¤Î¥µ¥¤¥º¤È¤Ê¤ë¡£
297 .PP
298 .\"O Because there can be no metadata associated with the underlying
299 .\"O recno access method files, any changes made to the default values
300 .\"O (e.g., fixed record length or byte separator value) must be explicitly
301 .\"O specified each time the file is opened.
302 recno ¥¢¥¯¥»¥¹¥á¥½¥Ã¥É¤Î¥Õ¥¡¥¤¥ë¤Ë´ØÏ¢¤Å¤±¤é¤ì¤ë
303 ¥á¥¿¥Ç¡¼¥¿¤Ï¸ºß¤Ç¤­¤Ê¤¤¤«¤é¡¢
304 ¥Ç¥Õ¥©¥ë¥ÈÃÍ (¸ÇÄê¥ì¥³¡¼¥ÉĹ¤ä¥»¥Ñ¥ì¡¼¥¿Ê¸»ú¤Ê¤É)
305 ¤ËÂФ¹¤ëÊѹ¹¤Ï¥Õ¥¡¥¤¥ë¤ò³«¤¯Ëè¤ËÌÀ¼¨Åª¤Ë»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
306 .PP
307 .\"O In the interface specified by
308 .\"O .BR dbopen (3),
309 .\"O using the
310 .\"O .I put
311 .\"O interface to create a new record will cause the creation of multiple,
312 .\"O empty records if the record number is more than one greater than the
313 .\"O largest record currently in the database.
314 .BR dbopen (3)
315 ¤Ç»ØÄꤵ¤ì¤¿¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹¤Ç¤Ï¡¢
316 .I put
317 ¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹¤ò»È¤Ã¤Æ¿·¤·¤¤¥ì¥³¡¼¥É¤òºîÀ®¤¹¤ë¤È¤­¤Ë¡¢
318 »ØÄꤷ¤¿¥ì¥³¡¼¥ÉÈֹ椬¥Ç¡¼¥¿¥Ù¡¼¥¹Ãæ¤Ë¸ºß¤·¤Æ¤¤¤ëºÇÂç¥ì¥³¡¼¥ÉÈÖ¹æ¤è¤ê
319 °ì¤Ä°Ê¾åÂ礭¤¤¤È¡¢
320 ¶õ¤Î¥ì¥³¡¼¥É¤¬Æ±»þ¤Ë¤Ç¤­¤Æ¤·¤Þ¤¦¡£
321 .SH ¥¨¥é¡¼
322 .\"O The
323 .\"O .I recno
324 .\"O access method routines may fail and set
325 .\"O .I errno
326 .\"O for any of the errors specified for the library routine
327 .\"O .BR dbopen (3)
328 .\"O or the following:
329 .I recno
330 ¥¢¥¯¥»¥¹¥á¥½¥Ã¥É¥ë¡¼¥Á¥ó¤Ï¼ºÇÔ¤¹¤ë¤È
331 .BR dbopen (3)
332 ¤Ç»ØÄꤵ¤ì¤Æ¤¤¤ë¥¨¥é¡¼¤Ë±þ¤¸¤¿
333 .IR errno " ¤«¡¢"
334 ¤¢¤ë¤¤¤Ï°Ê²¼¤Ë¼¨¤¹
335 .I errno
336 ¤ò¥»¥Ã¥È¤¹¤ë¡£
337 .TP
338 .B EINVAL
339 .\"O An attempt was made to add a record to a fixed-length database that
340 .\"O was too large to fit.
341 ¸ÇÄêĹ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë¥ì¥³¡¼¥É¤òÄɲ乤ë¤È¤­¡¢¥Ç¡¼¥¿¤¬Ä¹¤¹¤®¤¿¡£
342 .SH ¥Ð¥°
343 .\"O Only big and little endian byte order is supported.
344 ¥Ð¥¤¥È¥ª¡¼¥À¡¼¤È¤·¤Æ¤Ï¥Ó¥Ã¥°¥¨¥ó¥Ç¥£¥¢¥ó¤È¥ê¥È¥ë¥¨¥ó¥Ç¥£¥¢¥ó¤Î¤ß¤¬
345 ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£
346 .SH ´ØÏ¢¹àÌÜ
347 .BR btree (3),
348 .BR dbopen (3),
349 .BR hash (3),
350 .BR mpool (3)
351 .sp
352 .IR "Document Processing in a Relational Database System" ,
353 Michael Stonebraker, Heidi Stettner, Joseph Kalash, Antonin Guttman,
354 Nadene Lynn, Memorandum No. UCB/ERL M82/32, May 1982.