STRUCT KUNIT_BINARY_ASSERT_TEXT(9)
β¨ struct kunit_binary_assert_text(9) β¨
okay so welcome to the Kernel API Manual, bestie β this page is about struct kunit_binary_assert_text, and it is literally the tiny string-holder for the binary assert fam. it's giving βsmall structs onlyβ energy. no cap. π
π NAME π
struct kunit_binary_assert_text β holds strings for &struct kunit_binary_assert and friends to try and make the structs smaller. thatβs the whole assignment, and it ate. π
π¦ SYNOPSIS π¦
the shape is right here, and yes itβs just three const char * besties:
struct kunit_binary_assert_text {
const char *operation;
const char *left_text;
const char *right_text;
};
π Members π
operationβ a string representation of the comparison operator, e.g."==". itβs the operatorβs whole identity, lowkey iconic.left_textβ a string representation of the left expression, e.g."2+2". left side main character energy.right_textβ a string representation of the right expression, e.g."2+2". right side bestie, matching vibe fr fr.
π SEE ALSO π
kernel file ./include/kunit/assert.h is the mothership, and here are all the linked lore drops:
enum kunit_assert_type(9)struct kunit_loc(9)struct kunit_assert(9)struct kunit_fail_assert(9)struct kunit_unary_assert(9)struct kunit_ptr_not_err_assert(9)struct kunit_binary_assert(9)struct kunit_binary_ptr_assert(9)struct kunit_binary_str_assert(9)struct kunit_mem_assert(9)
π thatβs the whole page, bestie β source: ./include/kunit, date: October 2026, page: struct kuni..._assert_text(9). 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