int_type_show(9)
π int_type_show(9) β like, the Kernel API Manual, but make it make sense π
okay so bestie, this one lives in the Kernel API Manual section 9, and it's called int_type_show β and yes, before you ask, it's exactly what it sounds like: it shows the type of an integer attribute. That's the whole gig. Iconic, honestly. π
β¨ NAME β¨
int_type_show β emit the data type for an integer attribute
likeβ¦ it prints out what kind of integer-ish thing this attribute is. that's it. that's the function. no cap. π
π¦ SYNOPSIS π¦
ssize_t int_type_show (struct kobject *kobj , struct kobj_attribute
*kattr , char *buf );
πΈ ARGUMENTS πΈ
kobjβ pointer to the driver object. you know, the driver's whole little identity. π«Άkattrβ pointer to the attribute that's calling this function. the one sliding into your DMs, basically.bufβ the buffer to write to. this is where the output goes, so be nice to it. β¨
β RETURN β
Number of characters written to buf. that's it β a count. literally just counting how many chars made it into the buffer. fr fr. π₯
π SEE ALSO π
the kernel file ./drivers/platform/x86/lenovo/wmi-other.c β that's the main character source file, go look at it π
and here's the whole friend group, the entire squad, no one left behind:
lwmi_om_fan_get_set(9)lwmi_om_hwmon_is_visible(9)lwmi_om_hwmon_read(9)lwmi_om_hwmon_write(9)lwmi_om_hwmon_add(9)lwmi_om_hwmon_remove(9)lwmi_om_fan_info_init(9)lwmi_om_fan_info_collect_cd00(9)lwmi_om_fan_info_collect_cd_fan(9)lwmi_psy_ext_get_prop(9)lwmi_psy_ext_set_prop(9)lwmi_psy_prop_is_supported(9)lwmi_psy_prop_is_writeable(9)lwmi_add_battery(9)lwmi_remove_battery(9)lwmi_acpi_match(9)lwmi_om_psy_ext_init(9)lwmi_om_psy_remove(9)tunable_attr_01_id(9)attr_capdata01_show(9)attr_current_value_store(9)attr_current_value_show(9)lwmi_attr_01_is_supported(9)lwmi_om_fw_attr_add(9)lwmi_om_fw_attr_remove(9)lwmi_om_master_bind(9)lwmi_om_master_unbind(9)
ngl, that's a lot of cross-references, but slay, the docs are thorough. π§
and that's the whole page, bestie π this one came from ./drivers/platform/x86/lenovo, dated October 2026 β so mark your calendar, it's giving future energy, periodt. ππ
π¦ 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