Hacker News new | ask | show | jobs
by shakna 26 days ago
You need to add that the spec _also_ only defines a singular error state, that isn't applicable here.

> The crypt() function shall fail if:

> [ENOSYS]

> The functionality is not supported on this implementation.

1 comments

I don't think those error sections are generally meant to be exhaustive?
… In which case it might be a valid question to ask whether spec or some popular implementation should be followed?