[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.1 General [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)
