hvterm_raw_put_chars(9)
π NAME π
hvterm_raw_put_chars β bestie, this is the one that sends characters straight to the firmware for a given vterm adapter. no cap. β¨
so like, you're in the kernel Kernel API Manual (section 9, drivers, the whole vibe) and this function is your lil messenger girl handing chars off to firmware. π
πΈ SYNOPSIS πΈ
ssize_t hvterm_raw_put_chars (uint32_t vtermno , const u8 *buf , size_t count );
like, it returns an ssize_t and takes three things. that's the whole fit. π
β¨ ARGUMENTS β¨
vtermnoβ the virtual terminal number. which vterm are we talking to, girlypop? π¦bufβ the characters you're sending. ok but here's the tea: because of the underlying hypercall inhvc_put_chars, this buffer must be at least 16 bytes long, even if you're literally sending fewer chars. not me warning you twice. 16 bytes minimum. periodt. πcountβ number of chars to send. the actual amount. the real ones. β
π«Ά lowkey important: that 16-byte thing on buf is not a suggestion, it's a requirement. don't come crying to me when your buffer is 4 bytes and the hypercall side-eyes you. π
π₯ SEE ALSO π₯
- Kernel file
./drivers/tty/hvc/hvc_vio.cβ go read it, iykyk π
π okay that's the whole page, mwah π β this icon was living in ./drivers/tty/hvc, dated October 2026, and it answers to the name hvterm_raw_put_chars(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