https://stackoverflow.com/questions/77908684/is-there-a-direct-way-to-know-the-dispatch-order-of-errnos-from-manpage?noredirect=1#comment137352568_77908684
I just checked POSIX.1-2001. It uses strong words "shall fail" on those required errno while using vague words "may fail" on those whose implementation may diverge. The EINVAL into the above case falls in the second category. It would be better if the manpage distinguishes "may fail" and "shall fail".
I just checked POSIX.1-2001. It uses strong words "shall fail" on those required errno while using vague words "may fail" on those whose implementation may diverge. The EINVAL into the above case falls in the second category. It would be better if the manpage distinguishes "may fail" and "shall fail".