SHTK_CONFIG_INIT(3)

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

✨ NAME ✨

okay bestie, meet shtk_config_init πŸ’– β€” the function that initializes the configuration module. It’s giving β€œsetup era” and we’re obsessed.

πŸ“š LIBRARY πŸ“š

You get this lovely little thing by importing:

shtk_import config

πŸ› οΈ SYNOPSIS πŸ› οΈ

shtk_config_init var_name1 [.. var_nameN]

πŸ’– DESCRIPTION πŸ’–

So shtk_config_init initializes the configuration module and gets it all prepped and ready to load a configuration file that may define any of the configuration variables you pass in from var_name1 through var_nameN. ✨

And here’s the important part, no cap: only the variable names provided in the call to shtk_config_init will be recognized when loading a configuration file with shtk_config_load(3). Like, that’s the whole vibe check for which names get acknowledged. πŸ‘‘

πŸ‘€ SEE ALSO πŸ‘€

πŸ•°οΈ HISTORY πŸ•°οΈ

shtk_config_init first appeared in shtk 1.0. iconic behavior, honestly 🫢


mwah πŸ’‹ this cutie of a page is brought to you by Debian, dated November 6, 2014, and signed SHTK_CONFIG_INIT(3) πŸ’…πŸŽ€

πŸ“¦ where this page comes from