befs_compare_strings(9)
π
befs_compare_strings(9) π
okay so bestie, welcome to the Kernel API Manual corner of the group chat. todayβs main character is befs_compare_strings(9), and it is literally here to compare two strings. no cap.
π NAME π
befs_compare_strings β compare two strings. thatβs it, thatβs the vibe. β¨
β¨ SYNOPSIS β¨
int befs_compare_strings (const void *key1 , int keylen1 , const void
*key2 , int keylen2 );
π«Ά ARGUMENTS π«Ά
key1β pointer to the first key to be compared. bestie #1.keylen1β length in bytes ofkey1. yes, bytes. πkey2β pointer to the second key to be compared. bestie #2.keylen2β length in bytes ofkey2. slay. π
π DESCRIPTION π
hereβs the vibe check, fr fr:
- Returns
0ifkey1andkey2are equal. - Returns
>0ifkey1is greater. - Returns
<0ifkey2is greater.
thatβs the whole energy. iconic, lowkey. π
π SEE ALSO π
Kernel file ./fs/befs/btree.c and the rest of the friend group:
befs_bt_read_super(9)befs_bt_read_node(9)befs_btree_find(9)befs_find_key(9)befs_btree_read(9)befs_btree_seekleaf(9)befs_leafnode(9)befs_bt_keylen_index(9)befs_bt_valarray(9)befs_bt_keydata(9)befs_bt_get_key(9)
iykyk. π¦
later, bestie! β signed from ./fs/befs, October 2026, befs_compare_strings(9) πβ¨
π¦ 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