Name n3755, alx-0044r1 - Split memory management section (Editorial) Principles - Keep the language small and simple Category Refactor (editorial). Author Alejandro Colomar History r0 (2025-07-02; n3669): - Initial draft. r1 (2025-12-02; n3755): - Add mention of aligned_realloc(). Rationale All memory management functions are mixed in the same section. Having three sections, for 'allocation', 'reallocation', and 'deallocation', would help deduplicate some text, plus having the functions slightly more organized. This would make it easier to see for example that we entirely forgot to add a aligned_realloc() function. Future directions I plan to add more allocation and reallocation functions, such as reallocarray(3), reallocf(3), and more. Having cleaner sections will help with the wording. Proposed wording Based on N3550. A '=' means that the contents are moved verbatim. 7.25.4 Memory management functions @@ New sections after 7.25.4.1 ("General") +7.25.4.1+1 Allocation functions + =7.25.4.1+1.1 The malloc function (moved from 7.25.4.7) =7.25.4.1+1.2 The calloc function (moved from 7.25.4.3) =7.25.4.1+1.3 The aligned_alloc function (moved from 7.25.4.2) + +7.25.4.1+2 Reallocation functions + =7.25.4.1+2.1 The realloc function (moved from 7.25.4.8) + +7.25.4.1+3 Deallocation functions + =7.25.4.1+3.1 The free function (moved from 7.25.4.4) =7.25.4.1+3.1 The free_sized function (moved from 7.25.4.5) =7.25.4.1+3.1 The free_aligned_sized function (moved from 7.25.4.6)