Phil Nelson <p...@netbsd.org> writes:

> Hello,
>
>     In working on the 802.11 refresh, I ran into a new errno code from 
> FreeBSD:
>
> #define EDOOFUS         88              /* Programming error */
>
>     Shall we add this one?  (Most likely with a different number since 88 is 
> taken
> in the NetBSD errno.h.)
>
>    I could use EPROTO instead, but ....

My immediate reaction is not to add it. It's pretty clearly not in
posix, unlikely to be added, and sounds unprofessional.

It seems like it would be used in cases where there is a KASSERT in the
non-DIAGNOSTIC case.  I might just map it to EFAULT or EINVAL.

Attachment: signature.asc
Description: PGP signature

Reply via email to