led_get_flash_strobe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” 1 means the flash is strobing, 0 means 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 πŸ”₯

  • 0 on success
  • a negative error value on failure 😭

🌈 SEE ALSO 🌈


made with πŸ’– from ./include/linux, dated October 2026. later bestie β€” this was led_get_flash_strobe(9), signing off! πŸŽ€βœ¨

πŸ“¦ where this page comes from