--- cci/usr/src/man/man3/dbm.3x 2019/07/28 12:24:19 1.1.1.1 +++ cci/usr/src/man/man3/dbm.3x 2019/07/28 12:27:04 1.1.1.2 @@ -28,8 +28,8 @@ dbminit, fetch, store, delete, firstkey, .B datum key; .SH DESCRIPTION These functions maintain key/content pairs in a data base. -The functions will handle very large (a billion blocks) -databases and will access a keyed item in one or two file system accesses. +The functions handle very large (a billion blocks) +databases and access a keyed item in one or two file system accesses. The functions are obtained with the loader option .BR \-ldbm . .PP @@ -71,10 +71,10 @@ in an (apparently) random order, by use and .IR nextkey . .I Firstkey -will return the first key in the database. With any key +returns the first key in the database. With any key .I nextkey -will return the next key in the database. -This code will traverse the data base: +returns the next key in the database. +This code traverses the data base: .IP .B for (key = firstkey(); key.dptr != NULL; key = nextkey(key)) @@ -87,7 +87,7 @@ Routines that return a indicate errors with a null (0) .I dptr. .SH BUGS -The `.pag' file will contain holes so that its apparent size is about +The `.pag' file contains holes so that its apparent size is about four times its actual content. Older UNIX systems may create real file blocks for these holes when touched. These files cannot be copied by normal means (cp, cat, tp, tar, ar) without filling in the holes. @@ -100,7 +100,7 @@ The sum of the sizes of a key/content pa the internal block size (currently 1024 bytes). Moreover all key/content pairs that hash together must fit on a single block. .I Store -will return an error in the event that a disk block fills with inseparable data. +returns an error in the event that a disk block fills with inseparable data. .PP .I Delete does not physically reclaim file space,