[riot-notifications] [RIOT] Add POSIX compatible case insensitive compare (#290)

René Kijewski notifications at github.com
Fri Nov 1 16:49:14 CET 2013


> @@ -0,0 +1,38 @@
> +#include <strings.h>
> +#include <ctype.h>
> +#include <string.h>
> +
> +int ffs(int i)
> +{

I'd say why bother? Gcc+Clang give you "__builtin_ffs" which should result in good machine code for any arch. 

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/290/files#r7372547
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131101/7b02dba2/attachment.html>


More information about the notifications mailing list