Re: [RFC] Add DEV_NOT_IMPLEMENTED error code


Andre Guedes <andre.guedes@...>
 

Hi Peter,

Quoting Mitsis, Peter (2016-02-12 12:39:13)
[Peter] - Is there a reason why should not use the existing error code ENOSYS? From the description taken from http://www.gnu.org/software/libc/manual/html_node/Error-Codes.html (pasted below) I would think that it would fit our purposes.
I guess the main reason is that the device driver APIs follows the error code
format from include/device.h not the errno.h. Sure we can change all drivers
to use error code from errno.h, but I don't think this is desired ATM.

Thanks,

Andre

Join {devel@lists.zephyrproject.org to automatically receive all group messages.