This commit is contained in:
2025-10-25 03:02:53 +03:00
commit 043225d523
3416 changed files with 681196 additions and 0 deletions

21
cppdraft/errno/general.md Normal file
View File

@@ -0,0 +1,21 @@
[errno.general]
# 19 Diagnostics library [[diagnostics]](./#diagnostics)
## 19.4 Error numbers [[errno]](errno#general)
### 19.4.1 General [errno.general]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/diagnostics.tex#L522)
The contents of the header <cerrno> are the same as the POSIX header[<errno.h>](support.c.headers.general#header:%3cerrno.h%3e "17.15.1General[support.c.headers.general]"), except that errno shall be defined as a macro[.](#1.sentence-1)
[*Note [1](#note-1)*:
The intent is to remain in close alignment with the POSIX standard[.](#1.sentence-2)
— *end note*]
A separate errno value is provided for each thread[.](#1.sentence-3)