read_sysfs_float(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

🌸 NAME 🌸

read_sysfs_float β€” read a float value from file

✨ SYNOPSIS ✨

int read_sysfs_float (const char *filename , const char *basedir , float
       *val );

πŸŽ€ ARGUMENTS πŸŽ€

  • filename β€” name of file to read from. That's the file, bestie.
  • basedir β€” the sysfs directory in which the file is to be found. Like, the folder where your fave file lives.
  • val β€” output the read float value. It's where the read float value gets output. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe: it returns a value >= 0 on success, otherwise a negative error code. That's the whole thing. No cap. ✨

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./tools/iio/iio_utils.c β€” go peek:


okay bye bestie 🫢 β€” source/version is ./tools/iio, dated October 2026, and the page is read_sysfs_float(9). mwah πŸ’‹

πŸ“¦ where this page comes from