sbi_console_putchar(9)
π sbi_console_putchar(9) π
okay so this is a page from the Kernel API Manual β welcome to the RISC-V kernel-API group chat, bestie π«Ά
β¨ NAME β¨
sbi_console_putchar β writes the given character to the console device. that's it. that's the whole vibe. one char, one console, no cap π
πΈ SYNOPSIS πΈ
void sbi_console_putchar (int ch );
literally just that. void in, void out (well, nothing out β we'll get there) β¨
π ARGUMENTS π
chβ the data to be written to the console. that's your character, bestie, you picked it, now it's going to the console π¦
π« RETURN π«
None. nothing. nada. void. it does the thing and gives you absolutely zero feedback, and honestly? iconic behaviour π
π₯ SEE ALSO π₯
lowkey the whole friend group is here, go say hi:
- the kernel file
./arch/riscv/kernel/sbi.cβ that's where the magic lives, iykyk sbi_console_getchar(9)β the reverse icon, reads instead of writes πsbi_shutdown(9)__sbi_set_timer_v01(9)sbi_fwft_set(9)sbi_fwft_set_cpumask(9)sbi_set_timer(9)sbi_send_ipi(9)sbi_remote_fence_i(9)sbi_remote_sfence_vma_asid(9)sbi_remote_hfence_gvma(9)sbi_remote_hfence_gvma_vmid(9)sbi_remote_hfence_vvma(9)sbi_remote_hfence_vvma_asid(9)sbi_probe_extension(9)
like, the entire sbi_* squad fr fr πβ
π«Ά reminder for the girlies: this one returns None, so don't go assigning it to anything expecting a lil gift back. it's giving "no thoughts, just vibes" and we respect it π
okay that's the page!! slay π§ββοΈ this beauty lives in ./arch/riscv/kernel and the manual page itself is dated October 2026 β so yeah, bookmark it, screenshot it, send it to the group chat, whatever feels right. 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