This file is indexed.

/usr/lib/gcc/x86_64-linux-gnu/6/include/d/core/stdc/locale.d is in libgphobos-6-dev 6.4.0-17ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
/**
 * D header file for C99.
 *
 * $(C_HEADER_DESCRIPTION pubs.opengroup.org/onlinepubs/009695399/basedefs/_locale.h.html, _locale.h)
 *
 * Copyright: Copyright Sean Kelly 2005 - 2009.
 * License: Distributed under the
 *      $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
 *    (See accompanying file LICENSE)
 * Authors:   Sean Kelly
 * Source:    $(DRUNTIMESRC core/stdc/_locale.d)
 * Standards: ISO/IEC 9899:1999 (E)
 */

module core.stdc.locale;

extern (C):
@trusted: // Only setlocale operates on C strings.
nothrow:
@nogc:

///
struct lconv
{
    char* decimal_point;
    char* thousands_sep;
    char* grouping;
    char* int_curr_symbol;
    char* currency_symbol;
    char* mon_decimal_point;
    char* mon_thousands_sep;
    char* mon_grouping;
    char* positive_sign;
    char* negative_sign;
    byte  int_frac_digits;
    byte  frac_digits;
    byte  p_cs_precedes;
    byte  p_sep_by_space;
    byte  n_cs_precedes;
    byte  n_sep_by_space;
    byte  p_sign_posn;
    byte  n_sign_posn;
    byte  int_p_cs_precedes;
    byte  int_p_sep_by_space;
    byte  int_n_cs_precedes;
    byte  int_n_sep_by_space;
    byte  int_p_sign_posn;
    byte  int_n_sign_posn;
}

version(CRuntime_Glibc)
{
    ///
    enum LC_CTYPE          = 0;
    ///
    enum LC_NUMERIC        = 1;
    ///
    enum LC_TIME           = 2;
    ///
    enum LC_COLLATE        = 3;
    ///
    enum LC_MONETARY       = 4;
    ///
    enum LC_MESSAGES       = 5;
    ///
    enum LC_ALL            = 6;
    ///
    enum LC_PAPER          = 7;  // non-standard
    ///
    enum LC_NAME           = 8;  // non-standard
    ///
    enum LC_ADDRESS        = 9;  // non-standard
    ///
    enum LC_TELEPHONE      = 10; // non-standard
    ///
    enum LC_MEASUREMENT    = 11; // non-standard
    ///
    enum LC_IDENTIFICATION = 12; // non-standard
}
else version(Windows)
{
    ///
    enum LC_ALL            = 0;
    ///
    enum LC_COLLATE        = 1;
    ///
    enum LC_CTYPE          = 2;
    ///
    enum LC_MONETARY       = 3;
    ///
    enum LC_NUMERIC        = 4;
    ///
    enum LC_TIME           = 5;
}
else version(OSX)
{
    ///
    enum LC_ALL            = 0;
    ///
    enum LC_COLLATE        = 1;
    ///
    enum LC_CTYPE          = 2;
    ///
    enum LC_MONETARY       = 3;
    ///
    enum LC_NUMERIC        = 4;
    ///
    enum LC_TIME           = 5;
    ///
    enum LC_MESSAGES       = 6;
}
else version(FreeBSD)
{
    ///
    enum LC_ALL            = 0;
    ///
    enum LC_COLLATE        = 1;
    ///
    enum LC_CTYPE          = 2;
    ///
    enum LC_MONETARY       = 3;
    ///
    enum LC_NUMERIC        = 4;
    ///
    enum LC_TIME           = 5;
    ///
    enum LC_MESSAGES       = 6;
}
else version(CRuntime_Bionic)
{
    enum
    {
        ///
        LC_CTYPE          = 0,
        ///
        LC_NUMERIC        = 1,
        ///
        LC_TIME           = 2,
        ///
        LC_COLLATE        = 3,
        ///
        LC_MONETARY       = 4,
        ///
        LC_MESSAGES       = 5,
        ///
        LC_ALL            = 6,
        ///
        LC_PAPER          = 7,
        ///
        LC_NAME           = 8,
        ///
        LC_ADDRESS        = 9,
        ///
        LC_TELEPHONE      = 10,
        ///
        LC_MEASUREMENT    = 11,
        ///
        LC_IDENTIFICATION = 12,
    }
}
else version(Solaris)
{
    ///
    enum LC_CTYPE       = 0;
    ///
    enum LC_NUMERIC     = 1;
    ///
    enum LC_TIME        = 2;
    ///
    enum LC_COLLATE     = 3;
    ///
    enum LC_MONETARY    = 4;
    ///
    enum LC_MESSAGES    = 5;
    ///
    enum LC_ALL         = 6;
}
else
{
    static assert(false, "Unsupported platform");
}

///
@system char*  setlocale(int category, in char* locale);
///
lconv* localeconv();