Date: Mon, 05 Apr 2010 20:24:55 -0400 From: Jim Sander <jimsander@mac.com> Cc: freebsd-questions@freebsd.org Subject: Re: example C code for reading db hash files Message-ID: <00210668-B946-42C5-87A2-70293E9263A6@mac.com> In-Reply-To: <w2zd74eb87c1004051606ocd7de402je82828cbfc1ac27a@mail.gmail.com> References: <5CBAB28E-839B-48D7-B2F4-75C284A419E1@mac.com> <w2zd74eb87c1004051606ocd7de402je82828cbfc1ac27a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you - but unfortunately, that doesn't help (it was the first place I checked actually) - I assume because of historical changes, but possibly because I'm missing something obvious. http://www.oracle.com/technology/documentation/berkeley-db/db/ api_reference/C/dbopen.html vs. man 3 dbopen Things are *completely* different. Is the "stock BSD" db.h different than the Oracle db.h ? On Apr 5, 2010, at 7:06 PM, C. P. Ghost wrote: > On Mon, Apr 5, 2010 at 10:28 PM, Jim Sander <jimsander@mac.com> wrote: > Is there a handy C code reference or examples for db files? (google > has not been kind to me) I have a tied hash from Perl using > DB_File, and need read only access in a C program. > > You mean a reference... like this? > > http://www.oracle.com/technology/documentation/berkeley-db/db/ > index.html > > There are C, C++ and other bindings for the Berkeley DB, > each of which comes with some examples. > Use the bindings you feel most comfortable with. > > -cpghost. > > -- > Cordula's Web. http://www.cordula.ws/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00210668-B946-42C5-87A2-70293E9263A6>