man/l_roff-char.7.in: fix Bernd Warken (Dave Kemper, Werner Lemberg)..
[s-roff.git] / include / localcharset.h
blobb558b1c6b5a77880966417f53a4411eee4acb5c2
1 /*@ Determine a canonical name for the current locale's character encoding.
3 * Copyright (c) 2014 - 2017 Steffen (Daode) Nurpmeso <steffen@sdaoden.eu>.
5 * Copyright (C) 2000 - 2003 Free Software Foundation, Inc.
6 * This file is part of the GNU CHARSET Library.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2, or (at your option)
11 * any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License along
19 * with this program; if not, write to the Free Software Foundation,
20 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 #ifndef _LOCALCHARSET_H
23 #define _LOCALCHARSET_H
25 #include "config.h"
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
31 /* Determine the current locale's character encoding, and canonicalize it
32 into one of the canonical names listed in config.charset.
33 The result must not be freed; it is statically allocated.
34 If the canonical name cannot be determined, the result is a non-canonical
35 name. */
36 extern const char * locale_charset (void);
38 #ifdef __cplusplus
40 #endif
41 #endif // _LOCALCHARSET_H
42 // s-it2-mode