EXPECT_STRNE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– EXPECT_STRNE(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for EXPECT_STRNE β€” yes, the (9) is part of the whole name, and we are keeping it ✨. This page is short, iconic, and lowkey just gives you the name, the call, the args, the description line, and the whole SEE ALSO friend group. No cap 🫢.


πŸŽ€ NAME πŸŽ€

  • EXPECT_STRNE - β€” the original literally just gives us the name and the dash, bestie; there’s no description after it, so we’re not inventing one πŸ’….

✨ SYNOPSIS ✨

here’s the signature, exactly as it appears β€” spaces and all, do not touch:

EXPECT_STRNE (expected , seen );

periodt. that’s the whole synopsis 🌸.


🌸 ARGUMENTS 🌸

  • expected β€” the expected value πŸ’–
  • seen β€” the measured value ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

the description is literally this exact line, no extra lore:

EXPECT_STRNE(expected, measured): strcmp(expected, measured)

that’s it, that’s the tea β˜•. it’s giving the call and the strcmp(expected, measured) line exactly, and we are not adding anything that isn’t there, bestie πŸ’―.


πŸ”₯ SEE ALSO πŸ”₯

go check out the whole friend group, iykyk πŸ’…:


that’s the whole page, bestie πŸ’–. signed off from the ./tools/testing/selftests source/version corner, dated October 2026, and yes, this is still the Kernel API Manual β€” mwah πŸŽ€πŸ’‹

πŸ“¦ where this page comes from