Annex C (informative)
Compatibility
[diff]
C.5
C standard library
[diff.library]
C.5.4
Modifications to behavior
[diff.mods.to.behavior]
1
#
Header
<cstdlib>
(
[cstdlib.syn]
)
: The following functions have different behavior:
(1.1)
atexit
(1.2)
exit
(1.3)
abort
Subclause
[support.start.term]
describes the changes
.
2
#
Header
<csetjmp>
(
[csetjmp.syn]
)
: The following functions have different behavior:
(2.1)
longjmp
Subclause
[csetjmp.syn]
describes the changes
.
C.5.4.1
Macro
offsetof(
type
,
member-designator
)
[diff.offsetof]
1
#
The macro
offsetof
, defined in
<cstddef>
(
[cstddef.syn]
)
, accepts a restricted set of
type
arguments in this International Standard
.
Subclause
[support.types.layout]
describes the change
.
C.5.4.2
Memory allocation functions
[diff.malloc]
1
#
The functions
aligned_alloc
,
calloc
,
malloc
, and
realloc
are restricted in this International Standard
.
Subclause
[c.malloc]
describes the changes
.