led_set_flash_strobe(9)
β¨ NAME β¨
okay so this page is from the Kernel API Manual, and it's all about led_set_flash_strobe β setup flash strobe, no cap β¨
π SYNOPSIS π
int led_set_flash_strobe (struct led_classdev_flash *fled_cdev , bool state );
π ARGUMENTS π
fled_cdevβ the flash LED to set strobe on. that's the one getting the strobe treatment πstateβ1means strobe flash,0means stop flash strobe. binary bestie moment fr fr β¨
πΈ DESCRIPTION πΈ
Strobe the flash LED. that's the vibe: it's the function for strobing the flash LED, periodt π
π¦ RETURN π¦
0 on success or negative error value on failure. so 0 is the slay outcome, and a negative error value means something went wrong π
π SEE ALSO π
Kernel file: ./include/linux/led-class-flash.h
the whole friend group π«Ά
led_classdev_flash_register_ext(9)led_classdev_flash_unregister(9)led_get_flash_strobe(9)led_set_flash_brightness(9)led_update_flash_brightness(9)led_set_flash_timeout(9)led_get_flash_fault(9)led_set_flash_duration(9)
xoxo, your kernel bestie π
β source/version: ./include/linux, date: October 2026 π
π¦ 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