We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91d2d7d commit f032de6Copy full SHA for f032de6
kernel/include/kernel_internal.h
@@ -137,6 +137,8 @@ extern void z_arch_mem_domain_destroy(struct k_mem_domain *domain);
137
* if the supplied memory buffer spans multiple enabled memory management
138
* regions (even if all such regions permit user access).
139
*
140
+ * @warning 0 size buffer has undefined behavior.
141
+ *
142
* @param addr start address of the buffer
143
* @param size the size of the buffer
144
* @param write If nonzero, additionally check if the area is writable.
0 commit comments