STRUCT UNI_PAGEDICT(9)
โจ struct uni_pagedict(9) โจ
okay bestie, welcome to the Kernel API Manual entry for struct uni_pagedict โ the unicode directory ๐โจ iykyk, this is the glow-up your console font tables deserve ๐
๐ธ NAME ๐ธ
struct uni_pagedict โ unicode directory ๐๏ธ๐
๐ SYNOPSIS ๐
struct uni_pagedict {
u16 **uni_pgdir[UNI_DIRS];
unsigned long refcount;
unsigned long sum;
unsigned char *inverse_translations[LAST_MAP + 1];
u16 *inverse_trans_unicode;
};
like, that's the whole vibe right there โ copy it exactly, no cap ๐๐ซถ
๐ฆ Members ๐ฆ
uni_pgdirโ the32*32*64table with glyphs โจ this is the main character: a big multi-dimensional lookup situation holding all the glyph energy ๐ซrefcountโ reference count of this structure ๐ข so like, how many people are currently holding hands with this struct ๐ซถ when it hits zero, it's giving exit stage left ๐sumโ checksum ๐งฎ a lil number that keeps everybody honest, periodtinverse_translationsโ best-effort inverse mapping ๐ it tries its best and honestly? we respect the effort ๐inverse_trans_unicodeโ best-effort inverse mapping to unicode ๐ same deal, best-effort, no promises, still iconic ๐
๐ฅ SEE ALSO ๐ฅ
- Kernel file
./drivers/tty/vt/consolemap.c con_set_default_unimap(9)con_copy_unimap(9)
go read those next bestie, they're literally in the same file and they're slay ๐งโญ
heads up: both inverse mapping members are described as best-effort โ that's the actual wording, so don't come for me if the mapping doesn't map perfectly ๐๐
that's the whole page!! this one lives in ./drivers/tty/vt, comes to you from October 2026 in the Kernel API Manual, and it's filed under struct uni_pagedict(9) โ mwah, stay hydrated, read your manpages ๐๐๐ฆ๐ธ๐
๐ฆ 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