Dynamic memory extensions
From cppreference.com
< c | experimental
Extensions to the C Library Part II: Dynamic Allocation Functions, ISO/IEC TR 24731-2:2010, defines the following new components for the C standard library:
__STDC_ALLOC_LIB__
(macro constant)
Defined in header
<stdio.h>
(dynamic memory TR)
(function) [edit]
(dynamic memory TR)
(function) [edit]
Defined in header
<string.h>
This library extension also introduces assignment-allocation character m
for use with %s
, %[
, and %c
conversion specifiers in fscanf and fwscanf family of functions.
[edit] Notes
The functions fmemopen
, open_memstream
, open_wmemstream
, getdelim
, getline
, strdup
, strndup
, and the extensions to fscanf
are available in POSIX (ISO/IEC 9945:2003).
The functions asprintf
and vasprintf
are available in Linux Standard Base (ISO/IEC IS 23360:2006)