dev_is_auxiliary(9)
π dev_is_auxiliary(9)
okay so this is a page from the Kernel API Manual and honestly it's short and sweet β a little one-function baddie. let's get into it π
β¨ NAME β¨
dev_is_auxiliary β check if the device is an auxiliary one π
like, is this device that kind of device? this function knows. main character energy fr.
πΈ SYNOPSIS πΈ
bool dev_is_auxiliary (struct device *dev );
returns a bool, takes a struct device *. that's the whole vibe. no cap. π¦
π ARGUMENTS π
devβ the device to check π that's it, that's the argument. hand it a device and it'll tell you what's what.
π«Ά SEE ALSO π«Ά
the whole auxiliary squad, plus the kernel file that started it all:
- Kernel file
./drivers/base/auxiliary.c PURPOSE(9)USAGE(9)EXAMPLE(9)auxiliary_device_init(9)__auxiliary_device_add(9)__auxiliary_driver_register(9)auxiliary_driver_unregister(9)auxiliary_device_create(9)auxiliary_device_destroy(9)__devm_auxiliary_device_create(9)
ngl bestie, this page is like three lines of lore β but every line ate π go read the SEE ALSOs if you want the full story, iykyk.
β that's the whole page!! brought to you from ./drivers/base, dated October 2026, straight out of the Kernel API Manual β slay, go check your devices, ily, bye ππ
π¦ 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