std1.0.0-beta-7 SafeC docs

std :: mem

Function std::mem_align_up

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

unsigned long mem_align_up(unsigned long addr, unsigned long align)

Round addr up to the next multiple of align (must be power of two).