SHTK_CONFIG_GET(3)

πŸ“¦ version 1.7, in nixos 26.05, nixpkgs unstable

🌸 NAME 🌸

Okay bestie, welcome to SHTK_CONFIG_GET(3) β€” the Library Functions Manual page for this little config-getting icon. πŸ’…

<pink>shtk_config_get</pink> β€” gets the value of a defined configuration variable. That's literally it, and it ate. ✨

πŸŽ€ LIBRARY πŸŽ€

You gotta import the config stuff with shtk_import config, periodt. 🫢

✨ SYNOPSIS ✨

shtk_config_get var_name

πŸ’– DESCRIPTION πŸ’–

The shtk_config_get function prints to stdout the value of the configuration variable var_name. The variable must have been previously set by a call to shtk_config_set(3) within the script or by the user in the configuration file. No cap, that's the whole vibe. πŸ’…

πŸ’€ ERRORS πŸ’€

If the variable has not been previously set, then execution terminates with an error. Not a drill, bestie β€” the whole thing stops with an error. 😭

πŸ¦‹ SEE ALSO πŸ¦‹

🌈 HISTORY 🌈

shtk_config_get first appeared in shtk 1.0. Iconic behavior, honestly. πŸ‘‘


Source/version: Debian. Date: November 6, 2014. Page: SHTK_CONFIG_GET(3). Bye bestie! πŸ’–βœ¨

πŸ“¦ where this page comes from