Blob Blame History Raw
Persistent Memory Development Kit

This is examples/libpmemblk/README.

This directory contains examples for libpmemblk, the library providing
pmem-resident arrays of blocks.  Some of these examples are explained
in more detail here: http://pmem.io/pmdk/libpmemblk

manpage.c is the example used in the libpmemblk man page.

assetdb contains a simple database built using libpmemblk.

To build these examples:
	make

These examples can be built against an installed system using:
	make LIBDIR=/usr/lib INCDIR=/usr/include

If you're looking for documentation to get you started using PMDK,
start here: http://pmem.io/pmdk and follow the links to examples and
man pages.  Developers new to PMDK are probably looking for libpmemobj.