nvml-sys 0.0.6

A low-level FFI wrapper around the Persistent Memory Development Kit, PMDK (formerly NVML) and its libraries, including libpmem, libpmemobj and others. Currently tracks master after version 1.3.1.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Persistent Memory Development Kit

This is examples/libpmemobj/linkedlist/README.

This directory contains an implementation of singly linked list and tail
queue in pmem_list.h. fifo.c contains an usage example of persistent tail queue.

Syntax of example usage is given below.

fifo <pool> <option> [<type>]
Available options:
insert		<character>		Insert character into FIFO
remove		Remove element from FIFO
print		Print all FIFO elements

Following example inserts character 'a' into FIFO:
./fifo pool_file insert a