minput_save_config(3m17n)

πŸ“¦
version 1.8.4 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 calling minput_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 (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