sw842_decompress(9)
π sw842_decompress(9) β Kernel API Manual π
Welcome to the Kernel API Manual page for sw842_decompress(9), bestie. Buckle up, we're decompressing β¨
β¨ NAME β¨
sw842_decompress β the description slot is literally blank in the source, so that's the whole name entry, periodt π
πΈ SYNOPSIS πΈ
int sw842_decompress (const u8 *in , unsigned int ilen , u8 *out ,
unsigned int *olen );
π ARGUMENTS π
Okay so the manpage did not describe these at all. Every single one is officially listed as -- undescribed --, and I am not gonna invent lore. Respect the source, bestie π
inβ-- undescribed --πilenβ-- undescribed --πoutβ-- undescribed --πolenβ-- undescribed --π
π DESCRIPTION π
Okay so here's the actual vibe: decompress the 842-compressed buffer of length ilen at in to the output buffer out, using no more than olen bytes. That's the assignment, and it ate π₯
The compressed buffer must be only a single 842-compressed buffer, with the standard format described in the comments in 842.h. Not a little buffer pile, not a buffer stack β one single 842-compressed buffer. Slay π
Processing will stop when the 842 "END" template is detected, not the end of the buffer. That distinction is giving main character energy, so don't miss it π
Heads up: detection is about the 842 "END" template, not wherever the buffer happens to end. ikyk π«Ά
π₯ RETURN π₯
0on success π- error on failure π
The olen parameter will contain the number of output bytes written on success, or 0 on error. So olen is literally carrying the receipts either way π§Ύβ¨
π¦ SEE ALSO π¦
- Kernel file
./lib/842/842_decompress.cβ go read it, bestie, it's right there ππ¦
source/version: ./lib/842 β’ dated October 2026 β mwah π this has been your Kernel API Manual moment for sw842_decompress(9), and honestly? iconic πβ¨
π¦ 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