per the resolution of Austin Group issue #617, these are accepted for XSI option in POSIX future and thus I'm treating them as standard functions.
8 lines
100 B
C
8 lines
100 B
C
#include <strings.h>
|
|
#include "atomic.h"
|
|
|
|
int ffsll(long long i)
|
|
{
|
|
return i ? a_ctz_64(i)+1 : 0;
|
|
}
|