vt_event_wait(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is vt_event_wait(9) from the Kernel API Manual, and it's literally the β€œwait for an event” page. No cap, that's the whole name. ✨

✨ SYNOPSIS ✨

void vt_event_wait (struct vt_event_wait *vw );

πŸŽ€ ARGUMENTS πŸŽ€

  • vw β€” our event πŸ’… (the page literally says β€œour event” β€” cute, concise, iconic).

πŸ¦‹ DESCRIPTION πŸ¦‹

It waits for an event to occur which completes our vt_event_wait structure. That's the vibe: you hand over the structure, and it waits for the event that finishes it. 🫢

On return the structure has wv->done set to 1 for success, or 0 if some event such as a signal ended the wait. Yes, the manpage spells it wv->done β€” not fixing it, not renaming it, periodt. πŸ’€

bestie note: wv->done is exactly what the page says, so keep that spelling if you're quoting it. 🫢

🌈 SEE ALSO 🌈


xoxo, your Unix bestie πŸ’– β€” source/version: ./drivers/tty/vt, dated October 2026, all about vt_event_wait(9). πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from