Annex D (normative)
Compatibility features
[depr]
D.21
Deprecated time formatting
[depr.ctime]
1
#
The header
<ctime>
has the following additions:
char
*
asctime
(
const
tm
*
timeptr
)
;
char
*
ctime
(
const
time_t
*
timer
)
;
2
#
The functions
asctime
and
ctime
are not required to avoid data races (
[res.
on.
data.
races]
)
.
See also:
ISO/IEC 9899:2024, 7.29