]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/recno.3
rename.2: SEE ALSO: add rename(1)
[thirdparty/man-pages.git] / man3 / recno.3
index 81c06ef9c70452f17ca370e146f919d9facb99f9..f20b433ce001d31ff8f8c96ad2af39995effac2a 100644 (file)
@@ -33,7 +33,7 @@
 .\"
 .\"    @(#)recno.3     8.5 (Berkeley) 8/18/94
 .\"
-.TH RECNO 3 2012-04-23 "" "Linux Programmer's Manual"
+.TH RECNO 3 2017-09-15 "" "Linux Programmer's Manual"
 .UC 7
 .SH NAME
 recno \- record number database access method
@@ -51,14 +51,14 @@ Since version 2.2, glibc no longer provides these interfaces.
 Probably, you are looking for the APIs provided by the
 .I libdb
 library instead.
-
+.PP
 The routine
 .BR dbopen (3)
 is the library interface to database files.
 One of the supported file formats is record number files.
 The general description of the database access methods is in
 .BR dbopen (3),
-this manual page describes only the recno specific information.
+this manual page describes only the recno-specific information.
 .PP
 The record number data structure is either variable or fixed-length
 records stored in a flat-file format, accessed by the logical record
@@ -69,14 +69,14 @@ record number five to be renumbered to record number four, as well
 as the cursor, if positioned after record number one, to shift down
 one record.
 .PP
-The recno access method specific data structure provided to
+The recno access-method-specific data structure provided to
 .BR dbopen (3)
 is defined in the
 .I <db.h>
 include file as follows:
 .PP
 .in +4n
-.nf
+.EX
 typedef struct {
     unsigned long flags;
     unsigned int  cachesize;
@@ -86,12 +86,12 @@ typedef struct {
     unsigned char bval;
     char         *bfname;
 } RECNOINFO;
-.fi
+.EE
 .in
 .PP
 The elements of this structure are defined as follows:
 .TP
-flags
+.I flags
 The flag value is specified by ORing
 any of the following values:
 .RS
@@ -134,7 +134,7 @@ This value is
 advisory, and the access method will allocate more memory rather than fail.
 If
 .I cachesize
-is  0 (no size is specified) a default cache is used.
+is  0 (no size is specified), a default cache is used.
 .TP
 .I psize
 The recno access method stores the in-memory copies of its records
@@ -142,8 +142,8 @@ in a btree.
 This value is the size (in bytes) of the pages used for nodes in that tree.
 If
 .I psize
-is 0 (no page size is specified) a page size is chosen based on the
-underlying file system I/O block size.
+is 0 (no page size is specified), a page size is chosen based on the
+underlying filesystem I/O block size.
 See
 .BR btree (3)
 for more information.
@@ -154,7 +154,7 @@ The number should represent the order as an integer; for example,
 big endian order would be the number 4,321.
 If
 .I lorder
-is 0 (no order is specified) the current host order is used.
+is 0 (no order is specified), the current host order is used.
 .TP
 .I reclen
 The length of a fixed-length record.
@@ -186,7 +186,7 @@ The
 .I data
 field of the key should be a pointer to a memory location of type
 .IR recno_t ,
-as defined in th
+as defined in the
 .I <db.h>
 include file.
 This type is normally the largest unsigned integral type available to
@@ -226,7 +226,7 @@ Only big and little endian byte order is supported.
 .BR dbopen (3),
 .BR hash (3),
 .BR mpool (3)
-
+.PP
 .IR "Document Processing in a Relational Database System" ,
 Michael Stonebraker, Heidi Stettner, Joseph Kalash, Antonin Guttman,
 Nadene Lynn, Memorandum No. UCB/ERL M82/32, May 1982.