Skip to content
This repository was archived by the owner on Sep 21, 2025. It is now read-only.
This repository was archived by the owner on Sep 21, 2025. It is now read-only.

Replace EOK with 0 #40

@linguini1

Description

@linguini1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions