Re: RFC: Use error codes from errno.h


Johan Hedberg
 

Hi Jesus,

On Wed, Mar 02, 2016, Jesus Sanchez-Palencia wrote:
DEV_OK = 0
DEV_FAIL = (??)
DEV_INVALID_OP = -EPERM or -ENOTSUP (??)
DEV_INVALID_CONF = -EINVAL
DEV_USED = -EBUSY
DEV_NO_ACCESS = -EAGAIN
-EACCES? EAGAIN doesn't seem like the best match here.

Johan

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