strstarts(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– strstarts(9) πŸ’–

okay so bestie, welcome to the strstarts(9) page from the Kernel API Manual ✨ this one is short, sweet, and lowkey iconic.


🌸 NAME 🌸

does @str start with @prefix? that's literally the whole question, no cap πŸ’…


✨ SYNOPSIS ✨

bool strstarts (const char *str , const char *prefix );

short king signature behavior πŸ‘‘πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • str β€” the string you're examining πŸ‘€
  • prefix β€” the prefix you're looking for πŸ”

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./tools/include/linux/string.h β€” that's the spot, iykyk 🫢


byeee, this page comes from ./tools/include/linux and is dated October 2026 πŸŒˆπŸ’œ

πŸ“¦ where this page comes from