summaryrefslogtreecommitdiffstats
path: root/gl/hard-locale.h
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-06 09:24:23 +0100
committerGitHub <noreply@github.com>2024-11-06 09:24:23 +0100
commit9b4df9e50837cc837e113053ba12ee6967d5e6c2 (patch)
treebf989e771579f835bcb49c074637a8e224bcecbc /gl/hard-locale.h
parent94150ae347beb25ac369d5773834ceef7f3736d3 (diff)
parent5be04ec2ceb1df77afbca4fcbf9e92a712612d6f (diff)
downloadmonitoring-plugins-9b4df9e50837cc837e113053ba12ee6967d5e6c2.tar.gz
Merge pull request #2037 from RincewindsHat/update/gnulib-1.0
Sync with the latest Gnulib code (d4ec02b3cc) (gnulib v1.0)
Diffstat (limited to 'gl/hard-locale.h')
-rw-r--r--gl/hard-locale.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/gl/hard-locale.h b/gl/hard-locale.h
index 880c9e85..5d40e522 100644
--- a/gl/hard-locale.h
+++ b/gl/hard-locale.h
@@ -1,6 +1,6 @@
1/* Determine whether a locale is hard. 1/* Determine whether a locale is hard.
2 2
3 Copyright (C) 1999, 2003-2004, 2009-2023 Free Software Foundation, Inc. 3 Copyright (C) 1999, 2003-2004, 2009-2024 Free Software Foundation, Inc.
4 4
5 This file is free software: you can redistribute it and/or modify 5 This file is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as 6 it under the terms of the GNU Lesser General Public License as
@@ -16,11 +16,23 @@
16 along with this program. If not, see <https://www.gnu.org/licenses/>. */ 16 along with this program. If not, see <https://www.gnu.org/licenses/>. */
17 17
18#ifndef HARD_LOCALE_H_ 18#ifndef HARD_LOCALE_H_
19# define HARD_LOCALE_H_ 1 19#define HARD_LOCALE_H_ 1
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
20 25
21/* Return true if the specified CATEGORY of the current locale is hard, i.e. 26/* Return true if the specified CATEGORY of the current locale is hard, i.e.
22 different from the C or POSIX locale that has a fixed behavior. 27 different from the C or POSIX locale that has a fixed behavior.
23 CATEGORY must be one of the LC_* values, but not LC_ALL. */ 28 CATEGORY must be one of the LC_* values, but not LC_ALL.
29 Note: This function uses the current global locale; it ignores the
30 per-thread locale. */
24extern bool hard_locale (int category); 31extern bool hard_locale (int category);
25 32
33
34#ifdef __cplusplus
35}
36#endif
37
26#endif /* HARD_LOCALE_H_ */ 38#endif /* HARD_LOCALE_H_ */