std1.0.0-beta-7 SafeC docs

std :: mem

Function std::mem_align_ptr

#include <std/mem.h> source ยท definition

generic<T> ?&T mem_align_ptr(&T ptr, unsigned long align)

Round a reference up to the next align-byte boundary (power of two).