sht21_humidity_show(9)
β¨ NAME β¨
okay bestie, this is the sht21_humidity_show(9) page from the Kernel API Manual, and it's literally about showing the humidity measurement value in sysfs. π
πΈ SYNOPSIS πΈ
ssize_t sht21_humidity_show (struct device *dev , struct
device_attribute *attr , char *buf );
π ARGUMENTS π
devβ deviceattrβ device attributebufβ sysfs buffer (PAGE_SIZE) where measurement values are written to
π¦ DESCRIPTION π¦
Bestie, listen: this gets called on read access to the humidity1_input sysfs attribute. That's the whole vibe check. π
It returns the number of bytes written into the buffer, and on error it returns a negative errno. No cap. π
π SEE ALSO π
- Kernel file
./drivers/hwmon/sht21.cstruct sht21(9) sht21_temp_ticks_to_millicelsius(9)sht21_rh_ticks_to_per_cent_mille(9)sht21_update_measurements(9)sht21_temperature_show(9)eic_show(9)
and that's the whole page, bestie π«Άβ¨ this icon is from ./drivers/hwmon, dated October 2026, and it's still serving Kernel API Manual energy for sht21_humidity_show(9). 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