How do you implement a custom `aligned_malloc` and `aligned_free` function in C?

Technical