minput_config_file(3m17n)
β¨ NAME β¨
minput_config_file β bestie, this is the one that tells you where your personal m17n config file lives π (and yeah, the manual name is m17n, the manual is 3m17n, if you were wondering π)
πΈ SYNOPSIS πΈ
char* minput_config_file (void)
π¦ DESCRIPTION π¦
okay so. minput_config_file() hands you the name of your per-user customization file. π«Ά
It returns the absolute path name of that per-user customization file β the exact one that minput_save_config() writes your configurations into. π
Usually? It's config.mic chillin' inside the directory ${HOME}/.m17n.d (where ${HOME} is, duh, your home directory π ).
β οΈ but bestie, listen β it is not assured that a file with the returned name actually exists, and it's not assured that it's readable or writable. it's giving "here's a path, good luck." π
So if minput_save_config() fails and returns -1, an application program might wanna check that file, make it writable (if possible π), and then try minput_save_config() again. main character problem-solving energy, honestly. π
π RETURN VALUE π
This function returns a string. β¨
And here's the catch, no cap: because that string is kept in the library, the caller must not modify nor free it. π hands off, it's not yours.
π SEE ALSO π
minput_save_config()
π 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>.
Version 1.8.4, dated Mon Sep 25 2023 β and that's the whole page, bestie. slay, go save your configs. π ππΈπ¦β¨
π¦ 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