minput_config_file(3m17n) | The m17n Library | minput_config_file(3m17n) |
minput_config_file - Get the name of per-user customization file.
char* minput_config_file (void)
Get the name of per-user customization file. The minput_config_file() function returns the absolute path name of per-user customization file into which minput_save_config() save configurations. It is usually config.mic under the directory ${HOME}/.m17n.d (${HOME} is user's home directory). It is not assured that the file of the returned name exists nor is readable/writable. If minput_save_config() fails and returns -1, an application program might check the file, make it writable (if possible), and try minput_save_config() again.
This function returns a string. As the string is kept in the library, the caller must not modify nor free it.
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>.
12 Jan 2011 | Version 1.6.2 |