minput_save_config(3m17n)
β¨ minput_save_config β¨
okay bestie, welcome to the m17n library era π this one lives in section 3m17n and it's literally all about saving your input configs so they survive past this session. iconic behavior, honestly.
πΈ NAME πΈ
minput_save_config β save the configs you've been cooking up this session into your very own per-user customization file π
π¦ SYNOPSIS π¦
int minput_save_config (void)
no arguments, no drama, just vibes π«Ά
π DESCRIPTION π
okay so the whole point: Save configurations in per-user customization file.
The minput_save_config() function saves the configurations done so far in the current session into the per-user customization file. that's it, that's the job β everything you've tweaked since you sat down gets written out so it's still there next time. no cap π
π RETURN VALUE π
the return value is giving β¨storytellingβ¨ because each number means something different:
1β the operation was successful. slay! π0β the per-user customization file is currently locked. in that case, the caller may wait for a while and try again. it's not a no, it's a "not right now" bestie π-1β the configuration file is not writable. in that case, the caller may check the name of the file by callingminput_config_file(), make it writable if possible, and try again. basically: go find the file, check perms, come back stronger πͺ
π₯ SEE ALSO π₯
minput_config_file()β the girlies that go together π«Ά
π COPYRIGHT π
Copyright (C) 2001 Information-technology Promotion Agency (IPA) Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>.
and that's the whole page, bestie π tysm for reading, mwah π this was Version 1.8.4, dated Mon Sep 25 2023, and yes she ate ππ β¨
π¦ where this page comes from
- debian trixie: m17n-docs 1.8.4-1
- ubuntu noble: m17n-docs 1.8.4-1
- ubuntu questing: m17n-docs 1.8.4-1
- ubuntu resolute: m17n-docs 1.8.4-1build1
- ubuntu stonking: m17n-docs 1.8.4-1build1
- Copyright (C) 2001 Information-technology Promotion Agency (IPA)
- Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms