crc_itu_t(9)
π crc_itu_t(9)
okay so bestie, welcome to the Kernel API Manual entry for crc_itu_t β yes that's the manual name, yes it's giving official, and yes we're about to make CRC math feel like a group chat π
β¨ NAME β¨
crc_itu_t β compute the CRC-ITU-T for the data buffer πΈ
Like, it crunches your buffer and hands you back a CRC-ITU-T value. That's the whole vibe. No cap.
β¨ SYNOPSIS β¨
u16 crc_itu_t (u16 crc , const u8 *buffer , size_t len );
literally that's it, that's the signature, look at her go π
β¨ ARGUMENTS β¨
crcβ the previous CRC value π«Ά yes, the one you already had. You're updating it, not starting from zero (unless you are, iykyk).bufferβ data pointer π« it points at your data. Your data. Right there.lenβ number of bytes in the buffer π exactly how many bytes, no guessing, we respect the count in this house.
β¨ DESCRIPTION β¨
Returns the updated CRC value β¨ that's the tea. You give it the previous CRC plus the buffer plus the length, and it gives you back the updated CRC value. Simple, iconic, does exactly what it says on the tin π
π¦ SEE ALSO π¦
Kernel file ./lib/crc/crc-itu-t.c β go read the source bestie, it's right there π
and that's the whole page, fr fr β nothing more, nothing less, we keep it accurate around here π
mwah π this was ./lib/crc, dated October 2026 β take care of yourself, hydrate, and may all your checksums match on the first try πβ
π¦ 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