xref: /netbsd-src/external/gpl3/gdb/dist/gnulib/import/hard-locale.h (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
18dffb485Schristos /* Determine whether a locale is hard.
28dffb485Schristos 
3*4b169a6bSchristos    Copyright (C) 1999, 2003-2004, 2009-2022 Free Software Foundation, Inc.
48dffb485Schristos 
5*4b169a6bSchristos    This file is free software: you can redistribute it and/or modify
6*4b169a6bSchristos    it under the terms of the GNU Lesser General Public License as
7*4b169a6bSchristos    published by the Free Software Foundation; either version 2.1 of the
8*4b169a6bSchristos    License, or (at your option) any later version.
98dffb485Schristos 
10*4b169a6bSchristos    This file is distributed in the hope that it will be useful,
118dffb485Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
128dffb485Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13*4b169a6bSchristos    GNU Lesser General Public License for more details.
148dffb485Schristos 
15*4b169a6bSchristos    You should have received a copy of the GNU Lesser General Public License
168dffb485Schristos    along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
178dffb485Schristos 
188dffb485Schristos #ifndef HARD_LOCALE_H_
198dffb485Schristos # define HARD_LOCALE_H_ 1
208dffb485Schristos 
218dffb485Schristos # include <stdbool.h>
228dffb485Schristos 
238dffb485Schristos /* Return true if the specified CATEGORY of the current locale is hard, i.e.
248dffb485Schristos    different from the C or POSIX locale that has a fixed behavior.
258dffb485Schristos    CATEGORY must be one of the LC_* values, but not LC_ALL.  */
268dffb485Schristos extern bool hard_locale (int category);
278dffb485Schristos 
288dffb485Schristos #endif /* HARD_LOCALE_H_ */
29