write_sysfs_string(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– write_sysfs_string(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” this is the page for write_sysfs_string, and it is literally here to write string to a sysfs file. no cap. ✨

🌸 NAME 🌸

write_sysfs_string β€” write string to a sysfs file πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

int write_sysfs_string (const char *filename , const char *basedir ,
       const char *val );

✨ ARGUMENTS ✨

  • filename β€” name of file to write to πŸ“
  • basedir β€” the sysfs directory in which the file is to be found πŸ¦‹
  • val β€” the string to write πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

vibe check: it returns a value >= 0 on success, otherwise you get a negative error code 😭. that's the whole description, bestie β€” short and iconic. periodt. πŸ’…

🌈 SEE ALSO 🌈

the Kernel file is ./tools/iio/iio_utils.c, and these are the see-also besties:


mwah πŸ’‹ β€” source/version: ./tools/iio, date: October 2026. iconic. πŸ«ΆπŸ’–πŸŽ€

πŸ“¦ where this page comes from