module_alias_printf(9)
π module_alias_printf π
okay so welcome to the module_alias_printf(9) page in the Kernel API Manual β this is the function that adds an auto-generated MODULE_ALIAS(), and honestly? iconic. π«Ά
β¨ NAME β¨
module_alias_printf β add auto-generated MODULE_ALIAS(). That's literally the whole name section, periodt. π
π SYNOPSIS π
void module_alias_printf (struct module *mod , bool append_wildcard ,
const char *fmt , ... );
π ARGUMENTS π
modβ the module. Yes bestie, it's astruct module *, hand it over. πappend_wildcardβ appends'*'for future extension if it doesn't exist yet. Future-proofing vibes, no cap. β¨fmtβ aprintf(3)-like format. You know the format-string energy: it's giving printf, but make it module alias. π...β variable arguments. The little extra args that go withfmt, fr fr. π¦
π SEE ALSO π
- Kernel file
./scripts/mod/file2alias.cβ that's the see-also, bestie. Go look, iykyk. π
mwah π β this module_alias_printf(9) page is from ./scripts/mod, dated October 2026. slay and goodbye. π
π¦ 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