con_copy_unimap(9)
β¨ con_copy_unimap β copy unimap between two vts β¨
okay so bestie, this one lives in the Kernel API Manual (section 9, kernel internals only, iykyk) and it's honestly such a mood: it literally just copies a unimap from one virtual terminal over to another. lowkey iconic. π
πΈ SYNOPSIS πΈ
int con_copy_unimap (struct vc_data *dst_vc , struct vc_data *src_vc );
π ARGUMENTS π
dst_vcβ the target π― (where the unimap is going, bestie)src_vcβ the source π«Ά (where the unimap is coming from)
π DESCRIPTION π
okay so the actual doing of the thing requires one very important vibe check first:
The caller must hold the console lock when invoking this method. no cap, no exceptions β grab that lock before you call this, fr fr.
That's literally the whole description and honestly? respect. short and slay. β¨
π¦ SEE ALSO π¦
- Kernel file
./drivers/tty/vt/consolemap.cβ the actual source, go read it π§ struct uni_pagedict(9)β the struct involved, obsessedcon_set_default_unimap(9)β the sibling function, also a main character
β¨ that's the whole page, bestie β¨ it's from ./drivers/tty/vt and dated October 2026 β so like, future energy π¦ thanks for reading, mwah ππ
π¦ 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