led_set_flash_strobe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” 1 means strobe flash, 0 means 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 🫢


xoxo, your kernel bestie πŸ’… β€” source/version: ./include/linux, date: October 2026 πŸŽ€

πŸ“¦ where this page comes from