Files
cppdraft_translate/cppdraft/depr/ctime.md
2025-10-25 03:02:53 +03:00

20 lines
749 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[depr.ctime]
# Annex D (normative) Compatibility features [[depr]](./#depr)
## D.21 Deprecated time formatting [depr.ctime]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/future.tex#L776)
The header [<ctime>](ctime.syn#header:%3cctime%3e "30.15Header <ctime> synopsis[ctime.syn]") has the following additions:char* asctime(const tm* timeptr);char* ctime(const time_t* timer);
[2](#2)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/future.tex#L783)
The functions asctime and ctime are not required to avoid data races ([[res.on.data.races]](res.on.data.races "16.4.6.10Data race avoidance"))[.](#2.sentence-1)
See also: ISO/IEC 9899:2024, 7.29