Annex D (normative)
Compatibility features
[depr]
D.12
Deprecated error numbers
[depr.cerrno]
1
#
The header
<cerrno>
has the following additional macros:
🔗
#define
ENODATA
see below
#define
ENOSR
see below
#define
ENOSTR
see below
#define
ETIME
see below
2
#
The meaning of these macros is defined by the POSIX standard
.
3
#
The following
enum
errc
enumerators are defined in addition to those specified in
[system.
error.
syn]
:
no_message_available
,
//
ENODATA
no_stream_resources
,
//
ENOSR
not_a_stream
,
//
ENOSTR
stream_timeout
,
//
ETIME
4
#
The value of each
enum
errc
enumerator above is the same as the value of the
<cerrno>
macro shown in the above synopsis
.