The base directory for the code examples for PMDK can be found at https://github.com/pmem/pmdk/tree/master/src/examples. Each directory contains code samples for each library:
The base directory is https://github.com/pmem/pmemkv/tree/master/examples, again with directories/folders of examples for different languages.
We have 19 additional code samples on IDZ
All the code samples for each chapter can be found at https://github.com/pmem/book
Code examples are all in a single directory -https://github.com/memkind/memkind/tree/master/examples
The contents of this web site and the associated GitHub repositories are BSD-licensed open source.