current_trigger_show(9)
current_trigger_show(9) π
π NAME π
okay so bestie, this is the Kernel API Manual page for current_trigger_show β trigger consumer sysfs query current trigger π
no cap.
β¨ SYNOPSIS β¨
ssize_t current_trigger_show (struct device *dev , struct device_attribute *attr , char *buf );
πΈ ARGUMENTS πΈ
devβ the device associated with an industrial I/O device π οΈattrβ pointer to thedevice_attributestructure that is being processed πbufβ buffer where the current trigger name will be printed into π¨οΈ
π¦ DESCRIPTION π¦
okay so for trigger consumers, the current_trigger interface is literally the vibe check that lets you query which trigger the device is using. That's the whole thing β it asks the device, βbestie, what trigger are you on?β π
π RETURN π
- on failure β a negative number π
- on success β the number of characters written βοΈ
- if no trigger is available β
0π«₯
π SEE ALSO π
- Kernel file
./drivers/iio/industrialio-trigger.cπ name_show(9)iio_trigger_poll(9)iio_trigger_poll_nested(9)current_trigger_store(9)__iio_trigger_alloc(9)__devm_iio_trigger_alloc(9)devm_iio_trigger_register(9)iio_validate_own_trigger(9)iio_trigger_validate_own_device(9)
mwah π β source/version ./drivers/iio, October 2026, for current_trigger_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