Re: OS_EINVAL vs. OS_INVALID_PARM

2016-06-18 Thread Vipul Rahane
I agree. Keeping OS_EINVAL makes sense. Regards, Vipul Rahane > On Jun 18, 2016, at 12:51 PM, Christopher Collins wrote: > > Hello all, > > I noticed libs/os/include/os/os.h defines the following two error codes: > >OS_EINVAL = 2, >OS_INVALID_PARM = 3, > > Do

OS_EINVAL vs. OS_INVALID_PARM

2016-06-18 Thread Christopher Collins
Hello all, I noticed libs/os/include/os/os.h defines the following two error codes: OS_EINVAL = 2, OS_INVALID_PARM = 3, Do these error codes convey different results? After a brief look through the code, my impression is that they mean the same thing. If that is the case, I think one