Good introduction to the Berkeley db C api installed on OS X? -
i'm looking introduction berkeley db api installed on os x. have looked @ oracle document: http://download.oracle.com/docs/cd/e17076_02/html/gsg/c/berkeleydb-core-c-gsg.pdf
which seems newer version. not able compile , following error:
test.c:23: error: ‘db_create’ undeclared (first use in function) test.c:23: error: (each undeclared identifier reported once test.c:23: error: each function appears in.) test.c:26: error: ‘db’ has no member named ‘open’ test.c:42: error: many arguments function ‘dbp->close’ afaik, version installed on os x old bsd licensed 1.85.
db 1.85 there support system configuration files such /etc/pwd.db, shouldn't used.
that being said, is simpler newer berkeley db releases. dbopen(3) start.
Comments
Post a Comment