parse_option_str(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ parse_option_str(9) ✨

okay bestie, welcome to the Kernel API Manual page for parse_option_str(9) β€” yes, the function name is literally right there in the title, we’re doing amazing πŸ’–


🌸 NAME 🌸

parse_option_str β€” parse a string and check whether an option is set or not ✨

πŸŽ€ SYNOPSIS πŸŽ€

bool parse_option_str (const char *str , const char *option );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • str β€” the string to be parsed, bestie πŸ’…
  • option β€” the option name we’re checking for πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

okay so this function parses a string containing a comma-separated list of strings, like a=b,c β€” literally that vibe πŸ“

⭐ RETURN ⭐

True if there’s such option in the string, or false otherwise ✨ no cap.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./lib/cmdline.c β€” also peep get_option(9), get_options(9), and memparse(9) πŸ’…πŸ«Ά


mwah πŸ’‹ sign-off from the ./lib source/version corner of the universe, dated October 2026 πŸŒˆπŸ’œ

πŸ“¦ where this page comes from