我正在寻找一个很好的介绍Berkeley DB的API,它被安装在OS X上我已经看过此Oracle文档:http://download.oracle.com/docs/cd/E17076_02/html/gsg/C/BerkeleyDB-Core-C-GSG.pdf对OS X上安装的Berkeley db C api有很好的介绍?
这似乎是一个较新的版本。我不能编译这一点,并出现以下错误:
test.c:23: error: ‘DB_CREATE’ undeclared (first use in this function)
test.c:23: error: (Each undeclared identifier is reported only once
test.c:23: error: for each function it appears in.)
test.c:26: error: ‘DB’ has no member named ‘open’
test.c:42: error: too many arguments to function ‘dbp->close’
据我所知,在安装OS X的版本是旧BSD许可1.85。
谢谢,我会仔细看看手册页。 – foo 2011-04-11 18:07:14