DOKK / manpages / debian 11 / m17n-docs / mtext_getenv.3m17n.en
mtext_getenv(3m17n) The m17n Library mtext_getenv(3m17n)

mtext_getenv - Get an environment variable.

MText* mtext_getenv (const char * name)

Get an environment variable. The mtext_getenv() function searches the environment variable list for a string that matches the string pointed to by name.

If there is a match, the function decodes the value according to the current locale (LC_CTYPE) into an M-text, and return that M-text.

If there is no match, the function returns NULL.

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