armoury_attr_uint_show(9)
π armoury_attr_uint_show(9)
okay so this is from the Kernel API Manual, section 9, and honestly? she's a lil legend. we're talking about armoury_attr_uint_show β the function whose whole job is receiving an uint from a WMI method. that's it. that's her vibe. π
β¨ NAME β¨
armoury_attr_uint_show β Receive an uint from a WMI method.
like, you hand her a WMI method and she hands you back a lil unsigned int. no cap, that's the whole thing. π¦
πΈ SYNOPSIS πΈ
ssize_t armoury_attr_uint_show (struct kobject *kobj , struct kobj_attribute *attr , char *buf , u32 wmi_dev );
that's the signature bestie, copy it exactly, don't @ me π
π ARGUMENTS π
kobjβ Pointer to the driver object. yes she needs to know which driver we're talking about, main character energy fr fr πattrβ Pointer to the attribute calling this function. it's giving "who invited me here" but like, in a useful way π«Άbufβ The buffer to write to, as anuinttype. this is where the output goes, okay? write it down. literally. πwmi_devβ The WMI function ID to use. the actual method we're calling, iconic β
π§ DESCRIPTION π§
so the whole point of this function is that it's generic β intentionally! she's built so she can be called from any "_show" attribute that works only with integers. that's the niche. that's the assignment. and she ate. π₯
no extra drama, no special casing for one weird driver, just a reusable little show-attribute helper. iykyk π
π RETURN π
Either count, or an error.
that's it. two outcomes. slay or fail. no in-between, periodt π
π SEE ALSO π
- Kernel file
./drivers/platform/x86/asus-armoury.h armoury_attr_uint_store(9)β the other half of the duo, go read her too π
ngl bestie, if you're poking at the show side you definitely want the store side too. they're a matching set. π
written under ./drivers/platform/x86, dated October 2026 β that's the version + date stamp, mwah, 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