source:
azure_iot_hub_mbedtls/trunk/musl-1.1.18/src/misc/ffs.c@
413
Last change on this file since 413 was 398, checked in by , 5 years ago | |
---|---|
|
|
File size: 91 bytes |
Line | |
---|---|
1 | #include <strings.h> |
2 | #include "atomic.h" |
3 | |
4 | int ffs(int i) |
5 | { |
6 | return i ? a_ctz_l(i)+1 : 0; |
7 | } |
Note:
See TracBrowser
for help on using the repository browser.