我正在尋找一個很好的介紹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