Project
QNX 8.0 ABI values this project depends on
Every number below is one the project <em>uses</em>: a translation table, a message field, a mount flag or an ability. Each entry says where the value comes from and what breaks if it changes.
Two things keep this list honest:
- the project never hard-codes a QNX number in its own tables. The errno, open flag and file type translations live once in `common/src/err.c` and `common/src/flags.c`, and they read the target's real `<errno.h>`, `<fcntl.h>` and `<sys/stat.h>`. This document says what those headers are expected to contain;
- `drivers/tests/qnx_abi_assert.c` checks the values below with `_Static_assert` **on QNX only**. A change in the target's headers therefore breaks the *target* build, not the PC one, which is where the change should be noticed.
The PC build compiles that file to nothing: the QNX headers do not exist there, and comparing the host's numbers with QNX's would prove nothing.
Sources
| Short name | Document |
|---|---|
| ERRNO | errno |
| OPEN | open |
| STAT | stat |
| IOMSG |