SHTK_CONFIG_UNSET(3)
π shtk_config_unset β the "ahem, actually" of config variables
okay bestie, welcome to SHTK_CONFIG_UNSET(3) from the Library Functions Manual β¨ this is the page where we learn how to make a config variable justβ¦ not exist anymore π«Ά
π LIBRARY
shtk_import config β that's the import you need, no cap π
π SYNOPSIS
shtk_config_unset var_name
β¨ DESCRIPTION
so the shtk_config_unset function unsets the value of the configuration variable var_name. like, poof, gone, main character exit π
and here's the slay part: it is OK to call shtk_config_unset even if var_name has never been previously set. no drama, no error, it just vibes. π¦
BUT β and this is the important bit, iykyk β the given configuration variable must be a valid configuration variable as previously specified by a call to shtk_config_init(3). yes babes, that's the prerequisite. π
π ERRORS
if var_name is invalid because it has not been registered as a valid configuration variable with a call to shtk_config_init(3), execution terminates with an error. not me finding out the hard way π so pls register first, okay?
lowkey treat shtk_config_init(3) like the vibe check before the party β no registration, no entry. π₯
π SEE ALSO
πΈ HISTORY
shtk_config_unset first appeared in shtk 1.0. iconic from day one, honestly β
and that's the whole page, fr fr π this Debian-era cutie is dated November 6, 2014, so go forth and unset responsibly β mwah π
π¦ where this page comes from
- nixos 26.05: shtk 1.7
- nixpkgs unstable: shtk 1.7
- Copyright 2014 Google Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms