[riot-devel] Status code definitions for erros

Baptiste Clenet bapclenet at gmail.com
Fri Oct 31 09:00:28 CET 2014

Thanks a lot for your answer, that's good to know!
I think someone should add it to the programming rules in the wiki.


Le 31 oct. 2014 07:55, "Martine Lenders" <authmillenon at gmail.com> a écrit :

> Hi,
> 2014-10-30 23:47 GMT+01:00 Baptiste Clenet <bapclenet at gmail.com>:
>> Thank you. Do you know what I should use for the SAMR21 Xplained pro
>> board?
>> I will have a look on which lib to use.
> since the SAMR21 Xplained has an ARM Cortex, it already uses newlib as
> it's clib.
> Just include <errno.h>. Documentation of the values you can find in the
> manpages at errno(3) [1], but please do *not* use it as the errno in Linux
> (setting the global constant `errno`) but just as the negative return value
> of your functions, since `errno` is not thread-safe.
> Cheers,
> Martine
> [1] http://linux.die.net/man/3/errno
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> http://lists.riot-os.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20141031/75dce47a/attachment.html>

More information about the devel mailing list