generic_ffs(9)
generic_ffs(9) β Kernel API Manual vibes β¨
π NAME π
generic_ffs β find first bit set
okay so that's literally the whole mission, bestie: find first bit set. slay. π
π SYNOPSIS π
int generic_ffs (int x );
π ARGUMENTS π
xβ the word to search
π¦ DESCRIPTION π¦
The definition matches the libc and compiler builtin ffs routines exactly, so bestie, it differs in spirit from ffz (man ffs). no cap, that's the lore. β¨
π SEE ALSO π
- Kernel file
./include/asm-generic/bitops/ffs.h
okay bye bestie π«Ά this page's source/version is ./include/asm-generic/bitops, and the date is October 2026. periodt. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms