Symbol: setlocale
bin/cat/cat.c
81
(void)setlocale(LC_ALL, "");
bin/chmod/chmod.c
83
(void)setlocale(LC_ALL, "");
bin/cp/cp.c
114
(void)setlocale(LC_ALL, "");
bin/csh/csh.c
268
(void)setlocale(LC_ALL, "");
bin/csh/func.c
950
(void)setlocale(LC_ALL, "");
bin/csh/func.c
996
(void) setlocale(LC_ALL, "");
bin/date/date.c
102
(void)setlocale(LC_ALL, "");
bin/date/date.c
188
(void)setlocale(LC_TIME, "C");
bin/dd/dd.c
120
(void)setlocale(LC_ALL, "");
bin/df/df.c
104
(void)setlocale(LC_ALL, "");
bin/echo/echo.c
57
(void)setlocale(LC_ALL, "");
bin/expr/expr.y
394
(void)setlocale(LC_ALL, "");
bin/kill/kill.c
81
setlocale(LC_ALL, "");
bin/ksh/emacs.c
1501
locale = setlocale(LC_CTYPE, NULL);
bin/ksh/main.c
412
setlocale(LC_CTYPE, "");
bin/ls/ls.c
138
(void)setlocale(LC_ALL, "");
bin/mkdir/mkdir.c
69
(void)setlocale(LC_ALL, "");
bin/mv/mv.c
94
(void)setlocale(LC_ALL, "");
bin/ps/ps.c
216
(void)setlocale(LC_ALL, "");
bin/pwd/pwd.c
76
(void)setlocale(LC_ALL, "");
bin/rcp/rcp.c
107
(void)setlocale(LC_ALL, "");
bin/rm/rm.c
96
(void)setlocale(LC_ALL, "");
bin/rmdir/rmdir.c
66
(void)setlocale(LC_ALL, "");
bin/sh/main.c
142
setlocale(LC_ALL, "");
bin/sh/var.c
1939
old = setlocale(lv->category, NULL);
bin/sh/var.c
1945
if (setlocale(lv->category, val) == NULL) {
bin/sleep/sleep.c
84
(void)setlocale(LC_ALL, "");
bin/stty/stty.c
69
(void)setlocale(LC_ALL, "");
bin/test/test.c
241
(void)setlocale(LC_ALL, "");
include/locale.h
90
char *setlocale(int, const char *) __RENAME(__setlocale50);
lib/libc/compat/include/locale.h
40
char *setlocale(int, const char *);
lib/libc/compat/include/locale.h
47
compat_setlocale(int category, const char *locale) __RENAME(setlocale);
lib/libc/compat/locale/compat_setlocale1.c
43
__warn_references(setlocale,
lib/libc/gen/vis.c
115
ol = setlocale(LC_CTYPE, "C");
lib/libc/gen/vis.c
118
setlocale(LC_CTYPE, ol);
lib/libc/locale/dummy_lc_template.h
35
_PREFIX(setlocale)(const char * __restrict name,
lib/libc/locale/generic_lc_template_decl.h
32
const char * _PREFIX(setlocale)(const char * __restrict,
lib/libc/locale/nb_lc_template.h
218
_PREFIX(setlocale)(const char * __restrict name,
lib/libc/time/zdump.c
426
(void) setlocale(LC_ALL, "");
lib/libc/time/zic.c
1264
setlocale(LC_MESSAGES, "");
lib/libcurses/EXAMPLES/ex1.c
86
fprintf( stderr, "Current locale: %s\n", setlocale(LC_ALL, ""));
lib/libcurses/EXAMPLES/view.c
193
setlocale(LC_ALL, "");
lib/libcurses/acs.c
158
if (!strcmp(setlocale(LC_CTYPE, NULL), "C"))
lib/libcurses/acs.c
159
setlocale(LC_CTYPE, "");
lib/libedit/TEST/fuzz1.c
23
setlocale(LC_CTYPE, "");
lib/libedit/TEST/tc1.c
135
(void) setlocale(LC_CTYPE, "");
lib/libedit/TEST/wtc1.c
120
setlocale(LC_ALL, "");
libexec/makewhatis/makewhatis.c
142
(void)setlocale(LC_ALL, "");
sbin/chown/chown.c
91
(void)setlocale(LC_ALL, "");
sbin/dmesg/dmesg.c
166
(void)setlocale(LC_ALL, "");
sbin/gpt/show.c
145
ol = setlocale(LC_CTYPE, "en_GB.UTF-8");
sbin/gpt/show.c
148
setlocale(LC_CTYPE, ol);
share/examples/puffs/pgfs/mount.c
98
setlocale(LC_ALL, "");
share/examples/refuse/ian/libfetch/http.c
484
strncpy(locale, setlocale(LC_TIME, NULL), sizeof(locale));
share/examples/refuse/ian/libfetch/http.c
485
setlocale(LC_TIME, "C");
share/examples/refuse/ian/libfetch/http.c
488
setlocale(LC_TIME, locale);
tests/lib/libc/gen/h_ctype_abuse.c
108
if (setlocale(LC_CTYPE, argv[3]) == NULL)
tests/lib/libc/gen/t_ctype.c
1096
ATF_REQUIRE(setlocale(LC_CTYPE, "fr_FR.ISO8859-1") != NULL);
tests/lib/libc/gen/t_ctype.c
1131
ATF_REQUIRE(setlocale(LC_CTYPE, "uk_UA.KOI8-U") != NULL);
tests/lib/libc/gen/t_ctype.c
1166
ATF_REQUIRE(setlocale(LC_CTYPE, "kk_KZ.PT154") != NULL);
tests/lib/libc/gen/t_ctype.c
146
ATF_REQUIRE_MSG(setlocale(LC_CTYPE, locales[i]) != NULL,
tests/lib/libc/gen/t_ctype.c
181
ATF_REQUIRE_MSG(setlocale(LC_CTYPE, L) != NULL, "L=%s", L);
tests/lib/libc/gen/t_ctype.c
190
ATF_REQUIRE_MSG(setlocale(LC_CTYPE, L) != NULL, "L=%s", L);
tests/lib/libc/gen/t_ctype.c
199
ATF_REQUIRE_MSG(setlocale(LC_CTYPE, L) != NULL, "L=%s", L);
tests/lib/libc/gen/t_ctype.c
208
ATF_REQUIRE_MSG(setlocale(LC_CTYPE, L) != NULL, "L=%s", L);
tests/lib/libc/gen/t_ctype.c
217
ATF_REQUIRE_MSG(setlocale(LC_CTYPE, L) != NULL, "L=%s", L);
tests/lib/libc/gen/t_ctype.c
226
ATF_REQUIRE_MSG(setlocale(LC_CTYPE, L) != NULL, "L=%s", L);
tests/lib/libc/gen/t_ctype.c
235
ATF_REQUIRE_MSG(setlocale(LC_CTYPE, L) != NULL, "L=%s", L);
tests/lib/libc/gen/t_ctype.c
244
ATF_REQUIRE_MSG(setlocale(LC_CTYPE, L) != NULL, "L=%s", L);
tests/lib/libc/gen/t_ctype.c
253
ATF_REQUIRE_MSG(setlocale(LC_CTYPE, L) != NULL, "L=%s", L);
tests/lib/libc/gen/t_ctype.c
262
ATF_REQUIRE_MSG(setlocale(LC_CTYPE, L) != NULL, "L=%s", L);
tests/lib/libc/gen/t_ctype.c
271
ATF_REQUIRE_MSG(setlocale(LC_CTYPE, L) != NULL, "L=%s", L);
tests/lib/libc/gen/t_ctype.c
280
ATF_REQUIRE_MSG(setlocale(LC_CTYPE, L) != NULL, "L=%s", L);
tests/lib/libc/gen/t_ctype.c
290
ATF_REQUIRE_MSG(setlocale(LC_CTYPE, L) != NULL, "L=%s", L);
tests/lib/libc/gen/t_ctype.c
301
ATF_REQUIRE_MSG(setlocale(LC_CTYPE, L) != NULL, "L=%s", L);
tests/lib/libc/gen/t_vis.c
180
ol = setlocale(LC_CTYPE, "ja_JP.UTF-8");
tests/lib/libc/gen/t_vis.c
186
ATF_REQUIRE(setlocale(LC_CTYPE, "C") != NULL);
tests/lib/libc/gen/t_vis.c
190
setlocale(LC_CTYPE, ol);
tests/lib/libc/gen/t_vis.c
212
setlocale(LC_CTYPE, "en_US.UTF-8");
tests/lib/libc/locale/t_btowc.c
124
ATF_REQUIRE_STREQ(setlocale(LC_ALL, "C"), "C");
tests/lib/libc/locale/t_btowc.c
126
ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL);
tests/lib/libc/locale/t_btowc.c
127
ATF_REQUIRE((str = setlocale(LC_ALL, NULL)) != NULL);
tests/lib/libc/locale/t_btowc.c
202
ATF_REQUIRE_STREQ(setlocale(LC_ALL, "POSIX"), "POSIX");
tests/lib/libc/locale/t_btowc.c
86
ATF_REQUIRE_STREQ(setlocale(LC_ALL, "C"), "C");
tests/lib/libc/locale/t_btowc.c
88
ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL);
tests/lib/libc/locale/t_btowc.c
89
ATF_REQUIRE((str = setlocale(LC_ALL, NULL)) != NULL);
tests/lib/libc/locale/t_c16rtomb.c
52
lc_ctype_set = setlocale(LC_CTYPE, locale_name);
tests/lib/libc/locale/t_c32rtomb.c
49
REQUIRE_LIBC((locale = setlocale(LC_ALL, "C")), NULL);
tests/lib/libc/locale/t_c8rtomb.c
74
lc_ctype_set = setlocale(LC_CTYPE, locale_name);
tests/lib/libc/locale/t_digittoint.c
75
ATF_REQUIRE_STREQ(setlocale(LC_ALL, "C"), "C");
tests/lib/libc/locale/t_digittoint.c
77
ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL);
tests/lib/libc/locale/t_ducet.c
103
setlocale(LC_COLLATE, "en_US.UTF-8"); /* should be "vanilla" DUCET, but en_US will do */
tests/lib/libc/locale/t_ducet.c
104
ATF_REQUIRE_STREQ("en_US.UTF-8", setlocale(LC_COLLATE, NULL));
tests/lib/libc/locale/t_ducet.c
58
setlocale(LC_COLLATE, "en_US.UTF-8"); /* should be "vanilla" DUCET, but en_US will do */
tests/lib/libc/locale/t_ducet.c
59
ATF_REQUIRE_STREQ("en_US.UTF-8", setlocale(LC_COLLATE, NULL));
tests/lib/libc/locale/t_io.c
107
setlocale(LC_CTYPE, "zh_TW.Big5");
tests/lib/libc/locale/t_io.c
128
setlocale(LC_CTYPE, "zh_TW.Big5");
tests/lib/libc/locale/t_io.c
165
setlocale(LC_CTYPE, "zh_TW.Big5");
tests/lib/libc/locale/t_io.c
193
setlocale(LC_CTYPE, "zh_TW.Big5");
tests/lib/libc/locale/t_io.c
64
setlocale(LC_CTYPE, "zh_TW.Big5");
tests/lib/libc/locale/t_io.c
86
setlocale(LC_CTYPE, "zh_TW.Big5");
tests/lib/libc/locale/t_mbrtoc16.c
52
lc_ctype_set = setlocale(LC_CTYPE, locale_name);
tests/lib/libc/locale/t_mbrtoc32.c
50
REQUIRE_LIBC((locale = setlocale(LC_ALL, "C")), NULL);
tests/lib/libc/locale/t_mbrtoc8.c
52
lc_ctype_set = setlocale(LC_CTYPE, locale_name);
tests/lib/libc/locale/t_mbrtowc.c
184
ATF_REQUIRE_STREQ(setlocale(LC_ALL, "C"), "C");
tests/lib/libc/locale/t_mbrtowc.c
185
ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL);
tests/lib/libc/locale/t_mbrtowc.c
190
ATF_REQUIRE((str = setlocale(LC_ALL, NULL)) != NULL);
tests/lib/libc/locale/t_mbsnrtowcs.c
75
ATF_REQUIRE_STREQ(setlocale(LC_ALL, "C"), "C");
tests/lib/libc/locale/t_mbsnrtowcs.c
76
ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL);
tests/lib/libc/locale/t_mbstowcs.c
201
ATF_REQUIRE_STREQ(setlocale(LC_ALL, "C"), "C");
tests/lib/libc/locale/t_mbstowcs.c
202
ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL);
tests/lib/libc/locale/t_mbstowcs.c
207
ATF_REQUIRE((str = setlocale(LC_ALL, NULL)) != NULL);
tests/lib/libc/locale/t_mbtowc.c
108
ATF_REQUIRE_STREQ(setlocale(LC_ALL, "C"), "C");
tests/lib/libc/locale/t_mbtowc.c
110
ATF_REQUIRE(setlocale(LC_CTYPE, locale) != NULL);
tests/lib/libc/locale/t_mbtowc.c
112
ATF_REQUIRE((str = setlocale(LC_ALL, NULL)) != NULL);
tests/lib/libc/locale/t_mbtowc.c
183
(void)setlocale(LC_ALL, "");
tests/lib/libc/locale/t_sprintf.c
112
ATF_REQUIRE_STREQ(setlocale(LC_ALL, "C"), "C");
tests/lib/libc/locale/t_sprintf.c
114
ATF_REQUIRE(setlocale(LC_NUMERIC, t->locale) != NULL);
tests/lib/libc/locale/t_sprintf.c
115
printf("Using locale: %s\n", setlocale(LC_ALL, NULL));
tests/lib/libc/locale/t_sprintf.c
131
ATF_REQUIRE_STREQ(setlocale(LC_ALL, "C"), "C");
tests/lib/libc/locale/t_sprintf.c
133
ATF_REQUIRE(setlocale(LC_NUMERIC, t->locale) != NULL);
tests/lib/libc/locale/t_sprintf.c
182
ATF_REQUIRE_STREQ(setlocale(LC_ALL, "C"), "C");
tests/lib/libc/locale/t_sprintf.c
184
ATF_REQUIRE(setlocale(LC_NUMERIC, t->locale) != NULL);
tests/lib/libc/locale/t_strfmon.c
103
setlocale(LC_MONETARY, "sv_SE.UTF-8");
tests/lib/libc/locale/t_strfmon.c
154
if (setlocale(LC_MONETARY, "en_US.UTF-8") == NULL)
tests/lib/libc/locale/t_strfmon.c
189
if (setlocale(LC_MONETARY, "en_US.UTF-8") == NULL)
tests/lib/libc/locale/t_strfmon.c
234
if (setlocale(LC_MONETARY, "en_US.UTF-8") == NULL)
tests/lib/libc/locale/t_strfmon.c
278
if (setlocale(LC_MONETARY, tests[i].locale) == NULL)
tests/lib/libc/locale/t_strfmon.c
83
ATF_REQUIRE(setlocale(LC_MONETARY, "en_US.UTF-8") != NULL);
tests/lib/libc/locale/t_toupper.c
71
ATF_REQUIRE_STREQ(setlocale(LC_ALL, "C"), "C");
tests/lib/libc/locale/t_toupper.c
73
ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL);
tests/lib/libc/locale/t_wcscoll.c
118
ATF_REQUIRE_STREQ(setlocale(LC_ALL, "C"), "C");
tests/lib/libc/locale/t_wcscoll.c
120
ATF_REQUIRE(setlocale(LC_COLLATE, t->locale) != NULL);
tests/lib/libc/locale/t_wcscoll.c
121
printf("Using locale: %s\n", setlocale(LC_ALL, NULL));
tests/lib/libc/locale/t_wctomb.c
114
ATF_REQUIRE_STREQ(setlocale(LC_ALL, "C"), "C");
tests/lib/libc/locale/t_wctomb.c
116
ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL);
tests/lib/libc/locale/t_wctomb.c
130
ATF_REQUIRE((str = setlocale(LC_ALL, NULL)) != NULL);
tests/lib/libc/locale/t_wctype.c
149
ATF_REQUIRE_STREQ(setlocale(LC_ALL, "C"), "C");
tests/lib/libc/locale/t_wctype.c
151
ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL);
tests/lib/libc/locale/t_wctype.c
152
printf("Using locale %s\n", setlocale(LC_CTYPE, NULL));
tests/lib/libc/nls/t_catalog.c
90
(void)setlocale(LC_ALL, "C");
tests/lib/libc/string/t_strcoll.c
67
ATF_REQUIRE_STREQ(setlocale(LC_ALL, "C"), "C");
tests/lib/libc/string/t_strcoll.c
69
ATF_REQUIRE(setlocale(LC_COLLATE, t->locale) != NULL);
tests/lib/libc/string/t_strerror.c
128
(void)setlocale(LC_ALL, "C");
usr.bin/at/at.c
186
(void)setlocale(LC_TIME, "");
usr.bin/basename/basename.c
61
setlocale(LC_ALL, "");
usr.bin/cksum/cksum.c
174
setlocale(LC_ALL, "");
usr.bin/cmp/cmp.c
72
setlocale(LC_ALL, "");
usr.bin/col/col.c
144
(void)setlocale(LC_CTYPE, "");
usr.bin/comm/comm.c
75
(void)setlocale(LC_ALL, "");
usr.bin/csplit/csplit.c
110
(void)setlocale(LC_ALL, "");
usr.bin/cut/cut.c
85
(void)setlocale(LC_ALL, "");
usr.bin/dirname/dirname.c
60
setlocale(LC_ALL, "");
usr.bin/env/env.c
66
(void)setlocale(LC_ALL, "");
usr.bin/find/main.c
81
(void)setlocale(LC_ALL, "");
usr.bin/finger/finger.c
109
setlocale(LC_CTYPE, "");
usr.bin/finger/finger.c
116
setlocale(LC_CTYPE, "C");
usr.bin/fmt/fmt.c
115
(void)setlocale(LC_ALL, "");
usr.bin/fold/fold.c
72
setlocale(LC_CTYPE, "");
usr.bin/ftp/main.c
148
setlocale(LC_ALL, "");
usr.bin/ftp/util.c
807
curlocale = setlocale(LC_TIME, NULL);
usr.bin/ftp/util.c
808
(void)setlocale(LC_TIME, "C");
usr.bin/ftp/util.c
817
(void)setlocale(LC_TIME, curlocale);
usr.bin/getconf/getconf.c
202
(void)setlocale(LC_ALL, "");
usr.bin/gettext/gettext.c
148
setlocale(LC_ALL, "");
usr.bin/grep/grep.c
326
setlocale(LC_ALL, "");
usr.bin/head/head.c
83
(void)setlocale(LC_ALL, "");
usr.bin/hexdump/hexdump.c
69
setlocale(LC_ALL, "");
usr.bin/iconv/iconv.c
185
setlocale(LC_ALL, "");
usr.bin/locale/locale.c
284
setlocale(LC_ALL, "");
usr.bin/locale/locale.c
401
setlocale(LC_CTYPE, "C");
usr.bin/locale/locale.c
485
setlocale(LC_ALL, "");
usr.bin/locale/locale.c
495
vval = setlocale(lcinfo[i].id, NULL);
usr.bin/logname/logname.c
59
setlocale(LC_ALL, "");
usr.bin/man/man.c
146
setlocale(LC_ALL, "");
usr.bin/mkdep/mkdep.c
230
setlocale(LC_ALL, "");
usr.bin/mkfifo/mkfifo.c
64
setlocale (LC_ALL, "");
usr.bin/nice/nice.c
71
(void)setlocale(LC_ALL, "");
usr.bin/nl/nl.c
140
(void)setlocale(LC_ALL, "");
usr.bin/printf/printf.c
145
(void)setlocale (LC_ALL, "");
usr.bin/rev/rev.c
67
setlocale(LC_ALL, "");
usr.bin/rwho/rwho.c
90
(void)setlocale(LC_TIME, "");
usr.bin/sed/main.c
140
(void) setlocale(LC_ALL, "");
usr.bin/sort/sort.c
130
setlocale(LC_ALL, "");
usr.bin/spell/spellprog/spellprog.c
322
setlocale(LC_ALL, "");
usr.bin/talk/talk.c
65
setlocale(LC_ALL, "");
usr.bin/tee/tee.c
76
setlocale(LC_ALL, "");
usr.bin/time/time.c
79
(void)setlocale(LC_ALL, "");
usr.bin/touch/touch.c
99
setlocale(LC_ALL, "");
usr.bin/uname/uname.c
71
(void)setlocale(LC_ALL, "");
usr.bin/uudecode/uudecode.c
84
setlocale(LC_ALL, "");
usr.bin/uuencode/uuencode.c
75
setlocale(LC_ALL, "");
usr.bin/wc/wc.c
91
setlocale(LC_ALL, "");
usr.bin/what/what.c
69
(void)setlocale(LC_ALL, "");
usr.bin/who/who.c
110
setlocale(LC_ALL, "");
usr.bin/xargs/xargs.c
101
(void)setlocale(LC_ALL, "");
usr.bin/xlint/lint1/main1.c
138
setlocale(LC_ALL, "");
usr.sbin/fstyp/fstyp.c
223
if (setlocale(LC_CTYPE, "") == NULL)
usr.sbin/link/link.c
51
(void)setlocale(LC_ALL, "");
usr.sbin/sysinst/main.c
485
setlocale(LC_CTYPE, cp);
usr.sbin/syslogd/syslogd.c
322
(void)setlocale(LC_ALL, "");
usr.sbin/unlink/unlink.c
50
(void)setlocale(LC_ALL, "");
usr.sbin/usbdevs/usbdevs.c
95
setlocale(LC_ALL, "");