parse_option_str(9)
β¨ 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
- 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