write_sysfs_string(9)
π 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:
iioutils_break_up_name(9)iioutils_get_type(9)iioutils_get_param_float(9)bsort_channel_array_by_index(9)build_channel_array(9)find_type_by_name(9)write_sysfs_int(9)write_sysfs_int_and_verify(9)write_sysfs_string_and_verify(9)read_sysfs_posint(9)read_sysfs_float(9)read_sysfs_string(9)
mwah π β source/version: ./tools/iio, date: October 2026. iconic. π«Άππ
π¦ 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