Skip to content

Why are the errno extern consts declared as long? #521

Answered by jart
Jules-Bertholet asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jart
Comment options

Answer selected by Jules-Bertholet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants