vcc_get_ne(9)
π vcc_get_ne(9) β Kernel API Manual π
okay so bestie, welcome to vcc_get_ne from the vcc_get_ne(9) kernel API manual β this is the one that hands you a non-exclusive reference to a VCC port β¨ no gatekeeping, no exclusivity drama, everyone can hold a reference, it's giving sharing is caring π
πΈ NAME πΈ
vcc_get_ne β get a non-exclusive reference to a VCC port π«Ά
β¨ SYNOPSIS β¨
struct vcc_port * vcc_get_ne (unsigned long index );
like, that's the whole flex. one argument, one pointer back, iconic π
π¦ ARGUMENTS π¦
indexβ the index into the VCC table π’ literally just which slot you're pointing at, bestie
π DESCRIPTION π
Gets a non-exclusive reference to a VCC port β but only if it's not removed π like, if the port's still out here living its best life, you get your reference. no cap.
lowkey important: it's non-exclusive, so you're not claiming the port all for yourself β multiple references can exist at once, and that's the whole vibe π
β RETURN β
- pointer to the VCC port β if found π
NULLβ if the port's not found π
that's it, that's the return value, periodt.
π§ SEE ALSO π§
Kernel file ./drivers/tty/vcc.c β plus the whole friend group:
and that's the page!! π huge shoutout to ./drivers/tty for the source/version and to October 2026 for the date stamp β mwah, bye bestie ππ¦πΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms