Module pmem::ptr
[−]
[src]
The functions in this section provide optimized copying to persistent memory
The copy
, copy_nooverlapping
, and write_bytes
, provide the same memory copying as
memmove(3)
, memcpy(3)
, and memset(3)
, and ensure that the result has been flushed to persistence before returning.
Warning: Using these functions where
is_pmem(1)
returns false may not do anything useful. Use the normal libc functions in that case.
Functions
copy⚠ |
Copies |
copy_nooverlapping⚠ |
Copies |
write_bytes⚠ |
Invokes memset on the specified pointer, setting |