sgp_verify_buffer(9)
okay so this is sgp_verify_buffer(9), straight outta the Kernel API Manual β and bestie, it does exactly what it says: it verifies the checksums of the data buffer words. no cap. π
β¨ NAME β¨
sgp_verify_buffer β verify the checksums of the data buffer words. that's the whole assignment, and it ate. π
π SYNOPSIS π
int sgp_verify_buffer (const struct sgp_data *data , union sgp_reading
*buf , size_t word_count );
π§ ARGUMENTS π§
dataβ SGP data. iconic input, no notes.bufβ raw data buffer. the raw data buffer, as advertised.word_countβ Num data words stored in the buffer, excluding CRC bytes. CRC bytes are literally not invited to this count, periodt. π«Ά
π― RETURN π―
0 on success, negative error otherwise. success gets a 0, anything else is a negative error and a little grief π.
π SEE ALSO π
- Kernel file
./drivers/iio/chemical/sgp30.c sgp_read_cmd(9)sgp_measure_iaq(9)
π source/version: ./drivers/iio/chemical Β· date: October 2026 β mwah, go verify those checksums responsibly, bestie π«Ά
π¦ 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