You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turns out that EOK is a QNX-specific macro (which is crazy to me, but POSIX defines literally every other error type in an enum of E* names except EOK as 0).
To properly be POSIX compatible, we should either:
Replace occurrences of EOK with 0
Add a #define EOK 0 somewhere in a common header file so that our code will compile elsewhere
I do like the readability of EOK
The text was updated successfully, but these errors were encountered:
Turns out that
EOK
is a QNX-specific macro (which is crazy to me, but POSIX defines literally every other error type in an enum of E* names except EOK as 0).To properly be POSIX compatible, we should either:
#define EOK 0
somewhere in a common header file so that our code will compile elsewhereI do like the readability of
EOK
The text was updated successfully, but these errors were encountered: