DEVICE_BOOL_ATTR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– DEVICE_BOOL_ATTR(9) β€” Kernel API Manual πŸ’–

okay bestie, this is the Kernel API Manual page for DEVICE_BOOL_ATTR, and it's giving short-and-sweet main character energy. no cap, it's a tiny page, but every detail is still iconic. ✨


🌸 NAME 🌸

DEVICE_BOOL_ATTR β€” Define a device attribute backed by a bool. πŸ’…


✨ SYNOPSIS ✨

DEVICE_BOOL_ATTR (_name , _mode , _var );

πŸŽ€ ARGUMENTS πŸŽ€

  • _name β€” the attribute name. πŸŽ€
  • _mode β€” the file mode. πŸ¦‹
  • _var β€” the identifier of the bool. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

Like DEVICE_ULONG_ATTR, but _var is a bool. that's the whole description, bestie β€” short, clear, slay. πŸ”₯


🌈 SEE ALSO 🌈

Kernel file ./include/linux/device.h, plus the whole squad:


that's the whole page, bestie 🫢 β€” source/version ./include/linux, date October 2026, manual DEVICE_BOOL_ATTR(9). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from