Why are the errno extern consts declared as long? #521
Answered
by
jart
Jules-Bertholet
asked this question in
Q&A
-
The declarations in libc/errno.h are all |
Beta Was this translation helpful? Give feedback.
Answered by
jart
Aug 3, 2022
Replies: 1 comment 1 reply
-
We can change that. The storage space it uses is 8 bytes. But it wouldn't matter if we coerce the type to |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Jules-Bertholet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We can change that. The storage space it uses is 8 bytes. But it wouldn't matter if we coerce the type to
errno_t
. Want to send a pull request? Please be sure to send the copyright assignment if you do. See CONTRIBUTING.md.