viortc_set_alarm_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ viortc_set_alarm_enabled(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’… this one's all about viortc_set_alarm_enabled β€” it's a lil' wrapper around VIRTIO_RTC_REQ_SET_ALARM_ENABLED and honestly? iconic behavior. no cap. πŸŽ€


🌸 NAME 🌸

viortc_set_alarm_enabled β€” the VIRTIO_RTC_REQ_SET_ALARM_ENABLED wrapper. that's it, that's the whole vibe πŸ¦‹


⭐ SYNOPSIS ⭐

int viortc_set_alarm_enabled (struct viortc_dev *viortc , u16 vio_clk_id
, bool alarm_enable );

like, yes, the line break is real, we don't make the rules 🫢


πŸ’– ARGUMENTS πŸ’–

  • viortc β€” the device data. your main character struct 🫢
  • vio_clk_id β€” the virtio_rtc clock id. which clock are we talking about, bestie
  • alarm_enable β€” turn the alarm on or off. enable or disable, pick a lane ✨

🧚 CONTEXT 🧚

Process context. that's the whole section, she's short and she knows it πŸ’…


🌈 RETURN 🌈

Zero on success, negative error code otherwise. slay when it's zero, 😭 when it's negative, iykyk.


πŸ‘‘ SEE ALSO πŸ‘‘

like okay that's a lot of friends but they're all valid, go say hi πŸ’œ


mwah, that's the page πŸŽ€ this came out of ./drivers/virtio with an October 2026 date stamp, per the footer β€” so go forth and enable (or disable!!) those alarms, bestie. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from