1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:47:35 +00:00

LibC: Add ffs{,l,ll}

Those are wrappers around AK::bit_scan_forward().
This commit is contained in:
demostanis 2022-09-10 18:15:57 +02:00 committed by Linus Groh
parent aa788581f2
commit 09a2db89c9
2 changed files with 22 additions and 0 deletions

View file

@ -15,5 +15,8 @@ int strcasecmp(char const*, char const*);
int strncasecmp(char const*, char const*, size_t);
void bzero(void*, size_t);
void bcopy(void const*, void*, size_t);
int ffs(int);
int ffsl(long int);
int ffsll(long long int);
__END_DECLS