pr_warn(9)
π NAME π
pr_warn β print a warning-level message. This is the pr_warn(9) page, straight out of the Kernel API Manual, hiiii bestie β¨
β¨ SYNOPSIS β¨
pr_warn (fmt , ... );
π ARGUMENTS π
fmtβ format string, periodt π...β arguments for the format string, obvi π«Ά
π¦ DESCRIPTION π¦
Okay so this macro expands to a printk with KERN_WARNING loglevel. It uses pr_fmt to generate the format string. Itβs giving warning-level main character energy, no cap π
πΈ SEE ALSO πΈ
Kernel file ./include/linux/printk.h β go check these icons too:
printk_cpu_sync_get_irqsave(9)printk_cpu_sync_put_irqrestore(9)pr_fmt(9)printk(9)pr_emerg(9)pr_alert(9)pr_crit(9)pr_err(9)pr_notice(9)pr_info(9)pr_cont(9)pr_devel(9)pr_debug(9)print_hex_dump_bytes(9)
xoxo, sourced from ./include/linux, dated October 2026, and filed under pr_warn(9) β slay πβ¨π
π¦ 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