STRUCT ERRORMAP(9)
π NAME π
okay so bestie, this is struct errormap(9) from the Kernel API Manual, and it is literally the little matchmaker that maps string errors from Plan 9 to Linux numeric ids. no cap. π
π¦ SYNOPSIS π¦
struct errormap {
char *name;
int val;
int namelen;
struct hlist_node list;
};
π Members π
nameβ the string sent over 9P, like the error message's main character. π«Άvalβ the numeric id most closely representingname; it's giving translator energy. β¨namelenβ the length of string. πlistβ the hash-table list for string lookup, lowkey keeping things findable. π§
π SEE ALSO π
go peek at the Kernel file ./net/9p/error.c, plus p9_error_init(9) and p9_errstr2errno(9). iykyk. π
xoxo from the ./net/9p corner, October 2026 edition β signing off on struct errormap(9) ππ
π¦ 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