Function pmem::nodrain::write_bytes [] [src]

pub unsafe fn write_bytes<T>(pmemdest: *mut T, val: u8, count: usize)

Invokes memset on the specified pointer, setting count * size_of::<T>() bytes of memory starting at pmemdest to val.