typec_altmo..._orientation(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… typec_altmode_get_orientation(9) β€” get cable plug orientation

okay so this is a page from the Kernel API Manual, and honestly? it's a short one, bestie. like, one function, one argument, and then a whole friend group of SEE ALSOs. we love a low-effort icon. ✨


πŸŽ€ NAME πŸŽ€

typec_altmode_get_orientation β€” Get cable plug orientation

fr fr, that's the whole job. it looks at the alternate mode and tells you which way round the cable plug is sitting. no cap.


🌸 SYNOPSIS 🌸

enum typec_orientation typec_altmode_get_orientation (struct
typec_altmode *altmode );

so it hands you back an enum typec_orientation, and it takes exactly one thing. that's it. that's the vibe check. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • altmode β€” Handle to the alternate mode. yes bestie, the handle, the little pointer-y pass you gotta give it so it knows which alternate mode you're even talking about. 🫢

πŸ”₯ SEE ALSO πŸ”₯

the group chat, in order, all of them, no one left on read:

like, go read those if you want the full lore. iykyk πŸ“š


ngl this page is short enough to read in one breath, so there's genuinely no excuse not to. periodt. πŸ’–

and that's the whole thing, bestie β€” brought to you by ./include/linux/usb and the Kernel API Manual, dated October 2026. slay, go get that orientation. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from