A modest proposal for better errno values...

Colin Percival colin.percival at wadham.ox.ac.uk
Tue May 13 04:38:04 PDT 2003


At 07:25 13/05/2003 -0400, Thomas David Rivers wrote:
>How about
>
>         EKERNERR        /* A programming error in the kernel */
>
>
>Wouldn't that be descriptive of the situation without insulting
>anyone?

   If I understand the purpose of this error code, it deals with cases 
where data is in an invalid state.  In that case, why not make the error code
         EASSERT         /* An assertion has failed */

Colin Percival




More information about the freebsd-hackers mailing list