1*820c1a8dSHiroo HAYASHI /* Determine whether a locale is hard. 2*820c1a8dSHiroo HAYASHI 3*820c1a8dSHiroo HAYASHI Copyright (C) 1999, 2003-2004, 2009-2021 Free Software Foundation, Inc. 4*820c1a8dSHiroo HAYASHI 5*820c1a8dSHiroo HAYASHI This file is free software: you can redistribute it and/or modify 6*820c1a8dSHiroo HAYASHI it under the terms of the GNU Lesser General Public License as 7*820c1a8dSHiroo HAYASHI published by the Free Software Foundation; either version 2.1 of the 8*820c1a8dSHiroo HAYASHI License, or (at your option) any later version. 9*820c1a8dSHiroo HAYASHI 10*820c1a8dSHiroo HAYASHI This file is distributed in the hope that it will be useful, 11*820c1a8dSHiroo HAYASHI but WITHOUT ANY WARRANTY; without even the implied warranty of 12*820c1a8dSHiroo HAYASHI MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13*820c1a8dSHiroo HAYASHI GNU Lesser General Public License for more details. 14*820c1a8dSHiroo HAYASHI 15*820c1a8dSHiroo HAYASHI You should have received a copy of the GNU Lesser General Public License 16*820c1a8dSHiroo HAYASHI along with this program. If not, see <https://www.gnu.org/licenses/>. */ 17*820c1a8dSHiroo HAYASHI 18*820c1a8dSHiroo HAYASHI #ifndef HARD_LOCALE_H_ 19*820c1a8dSHiroo HAYASHI # define HARD_LOCALE_H_ 1 20*820c1a8dSHiroo HAYASHI 21*820c1a8dSHiroo HAYASHI # include <stdbool.h> 22*820c1a8dSHiroo HAYASHI 23*820c1a8dSHiroo HAYASHI /* Return true if the specified CATEGORY of the current locale is hard, i.e. 24*820c1a8dSHiroo HAYASHI different from the C or POSIX locale that has a fixed behavior. 25*820c1a8dSHiroo HAYASHI CATEGORY must be one of the LC_* values, but not LC_ALL. */ 26*820c1a8dSHiroo HAYASHI extern bool hard_locale (int category); 27*820c1a8dSHiroo HAYASHI 28*820c1a8dSHiroo HAYASHI #endif /* HARD_LOCALE_H_ */ 29