can_assume_(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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_...). return true if that assumption is enabled, else false. 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