can_assume_(9)
πΈ can_assume_(9) πΈ
okay so bestie, we're in the Kernel API Manual today and this little cutie is called can_assume_ β like, the whole vibe is "is this specific assumption turned on or not", iykyk? π¦
β¨ NAME β¨
can_assume_ β check if a particular assumption is enabled π
π SYNOPSIS π
bool can_assume_ (int mask );
that's it. that's the whole signature. short king energy fr fr π
π ARGUMENTS π
maskβ the mask you wanna check (ASSUME_...). returntrueif that assumption is enabled, elsefalse. literally that's the entire job, no cap π«Ά
π SEE ALSO π
- Kernel file
./scripts/dtc/libfdt/libfdt_internal.hβ go look, it's right there π
ngl there's not a ton here, but every detail counts, bestie β so don't skip the ASSUME_... bit, mwah π
and that's the vibe check, done and dusted β¨ this one comes to you straight from ./scripts/dtc/libfdt, dated October 2026, and it's filed under can_assume_(9) β slay, bye bestie πΈππ
π¦ 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