dock_present(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to dock_present(9) from the Kernel API Manual β€” this is the page for dock_present, and its whole job is to see if the dock station is present. That's the mission, periodt. πŸ’…

πŸ’« SYNOPSIS πŸ’«

the signature is giving int and a pointer moment, so here it is exactly:

int dock_present (struct dock_station *ds );

πŸŽ€ ARGUMENTS πŸŽ€

  • ds β€” the dock station, aka the struct dock_station * you're checking on. that's the whole argument, no cap. 🫢

πŸ”₯ DESCRIPTION πŸ”₯

It executes the _STA method. ⚠️ And here's the note that matters: present does not imply that we are docked. Like, do not conflate β€œpresent” with β€œdocked” β€” the manpage is literally warning you, bestie. πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./drivers/acpi/dock.c is the source-side main character, and the whole friend group is:


okay bye bestie 🫢 β€” this whole page comes from the ./drivers/acpi source, dated October 2026, and it's giving dock_present(9) footer energy at the very end. πŸ’–βœ¨

πŸ“¦ where this page comes from