CarletonURocketry / fetcher

A QNX process for fetching data from sensors over I2C.
https://carletonurocketry.github.io/fetcher/
MIT License
1 stars 0 forks source link

Replace `EOK` with `0` #40

Open linguini1 opened 4 months ago

linguini1 commented 4 months ago

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:

I do like the readability of EOK