viortc_ptp_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… viortc_ptp_unregister β€” ok bestie, this is from the Kernel API Manual (section 9, kernel functions, iykyk)

✨ NAME ✨

viortc_ptp_unregister β€” the PTP clock unregistering wrapper. it's giving cleanup era, no cap 🧹


🌸 SYNOPSIS 🌸

int viortc_ptp_unregister (struct viortc_ptp_clock *vio_ptp , struct
device *parent_dev );

literally that's the whole signature. two args, one int coming back at you πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • vio_ptp β€” the virtio_rtc PTP clock. the main character of this whole operation πŸ‘‘
  • parent_dev β€” the parent device of the PTP clock. the supporting role that still gets a credit 🫢

⭐ RETURN ⭐

Zero on success, negative error code otherwise. that's it, that's the vibe check β€” 0 means slay, negative means 😭


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/virtio/virtio_rtc_ptp.c, plus the whole friend group:


lowkey important: this page lives at ./drivers/virtio, dated October 2026, and it's page viortc_ptp_unregister(9) of the Kernel API Manual. go off, extra-flirty-seventies, we love a documented syscall wrapping moment πŸŒˆβœ¨πŸ“
πŸ“¦ where this page comes from