---
name: "minput_save_config"
section: "3m17n"
platform: "linux"
package: "m17n-docs"
version: "1.8.4-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/minput_save_config"
---

# minput\_save\_config(3m17n)

## NAME

minput\_save\_config -

## SYNOPSIS

int **minput\_save\_config** (void)

## DESCRIPTION

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.

## RETURN VALUE

If the operation was successful, 1 is returned. If the per-user customization file is currently locked, 0 is returned. In that case, the caller may wait for a while and try again. If the configuration file is not writable, -1 is returned. 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.

## SEE ALSO

**minput\_config\_file()**\

## 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\>.
