1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-09 12:58:26 +03:00

util: document why we have alloca_align()

This commit is contained in:
Lennart Poettering 2014-12-12 02:33:48 +01:00
parent ae6c3cc009
commit 257224b0cd

View File

@ -883,6 +883,7 @@ int unlink_noerrno(const char *path);
(void *) memset(_new_, 0, _len_); \
})
/* It's not clear what alignment glibc/gcc alloca() guarantee, hence provide a guaranteed safe version */
#define alloca_align(size, align) \
({ \
void *_ptr_; \