led_get_flash_strobe(9)
π led_get_flash_strobe(9) π
okay so bestie, this one is from the Kernel API Manual and it's literally all about checking if a flash LED is strobing at this exact moment. iconic little status check, no cap β¨
πΈ NAME πΈ
led_get_flash_strobe β get flash strobe status π
π¦ SYNOPSIS π¦
int led_get_flash_strobe (struct led_classdev_flash *fled_cdev , bool
*state );
π ARGUMENTS π
fled_cdevβ the flash LED to query πstateβ1means the flash is strobing,0means the flash is off π‘
β¨ DESCRIPTION β¨
So this function checks whether the flash is strobing at the moment. That's it, that's the whole vibe check π«Ά
π₯ RETURN π₯
0on success- a negative error value on failure π
π SEE ALSO π
- Kernel file
./include/linux/led-class-flash.hπ led_classdev_flash_register_ext(9)led_classdev_flash_unregister(9)led_set_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)
made with π from ./include/linux, dated October 2026. later bestie β this was led_get_flash_strobe(9), signing off! πβ¨
π¦ 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