Defined in 1 files as a prototype:
Defined in 2 files as a macro:
Defined in 1 files as a function:
Referenced in 217 files:
- bin/cat/cat.c, line 119
- bin/chio/chio.c, line 1206
- bin/date/date.c, 2 times
- bin/dd/dd.c, line 100
- bin/df/df.c, line 143
- bin/ed/main.c, line 106
- bin/ls/ls.c, line 243
- bin/pax/pax.c, line 235
- bin/pkill/pkill.c, line 149
- bin/ps/ps.c, line 194
- bin/rm/rm.c, line 90
- bin/sh/main.c, line 104
- bin/sh/var.c, 8 times
- bin/test/test.c, line 215
- contrib/bc/src/main.c, line 59
- contrib/binutils/binutils/addr2line.c, 2 times
- contrib/binutils/binutils/ar.c, 2 times
- contrib/binutils/binutils/bin2c.c, 2 times
- contrib/binutils/binutils/coffdump.c, 2 times
- contrib/binutils/binutils/dlltool.c, 2 times
- contrib/binutils/binutils/dllwrap.c, 2 times
- contrib/binutils/binutils/nm.c, 3 times
- contrib/binutils/binutils/objcopy.c, 2 times
- contrib/binutils/binutils/objdump.c, 2 times
- contrib/binutils/binutils/readelf.c, 2 times
- contrib/binutils/binutils/size.c, 2 times
- contrib/binutils/binutils/srconv.c, 2 times
- contrib/binutils/binutils/strings.c, line 178
- contrib/binutils/binutils/sysdump.c, 2 times
- contrib/binutils/binutils/windmc.c, 2 times
- contrib/binutils/gas/as.c, 2 times
- contrib/binutils/ld/ldmain.c, 2 times
- contrib/dialog/dialog.c, 2 times
- contrib/dialog/inputstr.c, line 86
- contrib/dialog/util.c, line 302
- contrib/diff/lib/hard-locale.c, 4 times
- contrib/diff/src/cmp.c, line 200
- contrib/diff/src/diff.c, line 267
- contrib/diff/src/diff3.c, line 232
- contrib/diff/src/sdiff.c, line 457
- contrib/ee/ee.c, line 5082
- contrib/file/src/file.c, line 195
- contrib/file/src/funcs.c, 3 times
- contrib/file/src/readcdf.c, 3 times
- contrib/flex/src/main.c, 2 times
- contrib/gdb/gdb/main.c, 2 times
- contrib/less/charset.c, line 403
- contrib/libarchive/cpio/cpio.c, line 160
- contrib/libarchive/cpio/test/test_option_t.c, line 88
- contrib/libarchive/libarchive/archive_string.c, 2 times
- contrib/libarchive/libarchive/test/main.c, 2 times
- contrib/libarchive/libarchive/test/test_archive_string_conversion.c, 3 times
- contrib/libarchive/libarchive/test/test_entry.c, 2 times
- contrib/libarchive/libarchive/test/test_gnutar_filename_encoding.c, 11 times
- contrib/libarchive/libarchive/test/test_pax_filename_encoding.c, 10 times
- contrib/libarchive/libarchive/test/test_read_format_cab_filename.c, 2 times
- contrib/libarchive/libarchive/test/test_read_format_cpio_filename.c, 25 times
- contrib/libarchive/libarchive/test/test_read_format_gtar_filename.c, 14 times
- contrib/libarchive/libarchive/test/test_read_format_lha_filename.c, 3 times
- contrib/libarchive/libarchive/test/test_read_format_lha_filename_utf16.c, line 39
- contrib/libarchive/libarchive/test/test_read_format_rar.c, 3 times
- contrib/libarchive/libarchive/test/test_read_format_tar_filename.c, 5 times
- contrib/libarchive/libarchive/test/test_read_format_ustar_filename.c, 14 times
- contrib/libarchive/libarchive/test/test_read_format_zip_7075_utf8_paths.c, line 78
- contrib/libarchive/libarchive/test/test_read_format_zip_filename.c, 27 times
- contrib/libarchive/libarchive/test/test_ustar_filename_encoding.c, 11 times
- contrib/libarchive/libarchive/test/test_zip_filename_encoding.c, 7 times
- contrib/libarchive/tar/bsdtar.c, line 207
- contrib/libarchive/test_utils/test_main.c, 2 times
- contrib/libc-vis/vis.c, 2 times
- contrib/libedit/TEST/tc1.c, line 135
- contrib/libedit/TEST/wtc1.c, line 120
- contrib/libxo/libxo/libxo.c, line 639
- contrib/libxo/tests/gettext/gt_01.c, line 55
- contrib/llvm-project/libcxx/src/locale.cpp, line 592
- contrib/llvm-project/lldb/source/Core/IOHandlerCursesGUI.cpp, 2 times
- contrib/lua/src/loslib.c, line 368
- contrib/mandoc/term_ascii.c, 3 times
- contrib/mandoc/test-wchar.c, 2 times
- contrib/ncurses/ncurses/tinfo/lib_setup.c, line 550
- contrib/netbsd-tests/lib/libc/gen/t_vis.c, 3 times
- contrib/netbsd-tests/lib/libc/locale/t_io.c, 6 times
- contrib/netbsd-tests/lib/libc/locale/t_mbrtowc.c, 4 times
- contrib/netbsd-tests/lib/libc/locale/t_mbsnrtowcs.c, 2 times
- contrib/netbsd-tests/lib/libc/locale/t_mbstowcs.c, 4 times
- contrib/netbsd-tests/lib/libc/locale/t_mbtowc.c, 4 times
- contrib/netbsd-tests/lib/libc/locale/t_wctomb.c, 4 times
- contrib/netbsd-tests/lib/libc/string/t_strerror.c, line 128
- contrib/ntp/libntp/snprintf.c, line 2104
- contrib/ntp/sntp/libopts/gettext.h, line 97
- contrib/nvi/common/conv.c, 5 times
- contrib/nvi/common/msg.c, line 710
- contrib/one-true-awk/main.c, 4 times
- contrib/smbfs/lib/smb/nls.c, line 65
- contrib/subversion/subversion/libsvn_subr/cmdline.c, 2 times
- contrib/tcsh/sh.c, 6 times
- contrib/tcsh/sh.func.c, 8 times
- contrib/tcsh/tc.prompt.c, line 56
- contrib/telnet/telnetd/utility.c, line 459
- contrib/tnftp/src/main.c, line 157
- contrib/tzcode/zic/zdump.c, line 259
- contrib/tzcode/zic/zic.c, line 484
- contrib/xz/src/common/tuklib_gettext.h, 2 times
- contrib/xz/src/xz/args.c, line 329
- crypto/heimdal/kuser/kcc.c, line 111
- crypto/heimdal/kuser/kinit.c, line 737
- crypto/openssh/regress/unittests/utf8/tests.c, 2 times
- crypto/openssh/utf8.c, 4 times
- gnu/usr.bin/grep/grep.c, line 1421
- gnu/usr.bin/grep/hard-locale.c, 4 times
- lib/libc/tests/locale/btowc_test.c, line 58
- lib/libc/tests/locale/c16rtomb_test.c, line 50
- lib/libc/tests/locale/iswctype_test.c, line 52
- lib/libc/tests/locale/mblen_test.c, line 78
- lib/libc/tests/locale/mbrlen_test.c, line 81
- lib/libc/tests/locale/mbrtoc16_test.c, line 50
- lib/libc/tests/locale/mbrtowc_test.c, line 100
- lib/libc/tests/locale/mbsnrtowcs_test.c, line 157
- lib/libc/tests/locale/mbsrtowcs_test.c, line 132
- lib/libc/tests/locale/mbstowcs_test.c, line 94
- lib/libc/tests/locale/mbtowc_test.c, line 79
- lib/libc/tests/locale/towctrans_test.c, line 71
- lib/libc/tests/locale/wcrtomb_test.c, line 92
- lib/libc/tests/locale/wcsnrtombs_test.c, line 159
- lib/libc/tests/locale/wcsrtombs_test.c, line 130
- lib/libc/tests/locale/wcstombs_test.c, line 108
- lib/libc/tests/locale/wctomb_test.c, line 80
- lib/libc/tests/stdio/printbasic_test.c, 2 times
- lib/libc/tests/stdio/printfloat_test.c, 15 times
- lib/libc/tests/stdio/scanfloat_test.c, 6 times
- lib/libc/tests/stdlib/strfmon_test.c, line 44
- lib/libc/tests/string/strxfrm_test.c, line 42
- lib/libc/tests/string/wcscasecmp_test.c, 7 times
- lib/libc/tests/string/wcscoll_test.c, 2 times
- lib/libdpv/dpv.c, line 490
- lib/libfetch/http.c, 3 times
- lib/libkiconv/xlat16_iconv.c, line 310
- libexec/getty/main.c, line 768
- sbin/camcontrol/timestamp.c, line 469
- sbin/dmesg/dmesg.c, line 90
- sbin/ifconfig/ifieee80211.c, line 5682
- sbin/mount_msdosfs/mount_msdosfs.c, line 116
- sbin/restore/main.c, line 98
- sbin/sysctl/sysctl.c, line 137
- sys/contrib/openzfs/cmd/mount_zfs/mount_zfs.c, 2 times
- sys/contrib/openzfs/cmd/zfs/zfs_main.c, 2 times
- sys/contrib/openzfs/cmd/zpool/zpool_main.c, 2 times
- sys/teken/demo/teken_demo.c, line 293
- tools/diag/localeck/localeck.c, line 65
- usr.bin/at/at.c, 2 times
- usr.bin/basename/basename.c, line 68
- usr.bin/calendar/calendar.c, line 88
- usr.bin/calendar/io.c, 2 times
- usr.bin/col/col.c, line 142
- usr.bin/colrm/colrm.c, line 70
- usr.bin/column/column.c, line 90
- usr.bin/comm/comm.c, line 82
- usr.bin/csplit/csplit.c, line 106
- usr.bin/ctags/ctags.c, 2 times
- usr.bin/cut/cut.c, line 85
- usr.bin/du/du.c, line 110
- usr.bin/expand/expand.c, line 74
- usr.bin/find/main.c, line 82
- usr.bin/finger/finger.c, line 182
- usr.bin/fmt/fmt.c, line 283
- usr.bin/fold/fold.c, line 75
- usr.bin/fortune/fortune/fortune.c, line 177
- usr.bin/fortune/strfile/strfile.c, line 152
- usr.bin/grep/grep.c, line 333
- usr.bin/hexdump/hexdump.c, line 67
- usr.bin/iconv/iconv.c, line 162
- usr.bin/join/join.c, line 126
- usr.bin/kdump/kdump.c, line 361
- usr.bin/killall/killall.c, line 136
- usr.bin/last/last.c, 2 times
- usr.bin/leave/leave.c, line 75
- usr.bin/locale/locale.c, 3 times
- usr.bin/localedef/localedef.c, line 283
- usr.bin/locate/locate/locate.c, line 148
- usr.bin/look/look.c, line 112
- usr.bin/morse/morse.c, line 414
- usr.bin/msgs/msgs.c, line 177
- usr.bin/ncal/ncal.c, 2 times
- usr.bin/nl/nl.c, line 142
- usr.bin/paste/paste.c, line 80
- usr.bin/perror/perror.c, line 49
- usr.bin/pr/pr.c, line 1858
- usr.bin/printf/printf.c, line 117
- usr.bin/random/random.c, line 82
- usr.bin/rev/rev.c, line 69
- usr.bin/rwho/rwho.c, line 106
- usr.bin/sed/main.c, line 132
- usr.bin/sort/sort.c, 6 times
- usr.bin/split/split.c, line 93
- usr.bin/systat/main.c, line 145
- usr.bin/tabs/tabs.c, line 87
- usr.bin/talk/talk.c, line 69
- usr.bin/time/time.c, line 88
- usr.bin/top/top.c, line 269
- usr.bin/tr/tr.c, line 82
- usr.bin/ul/ul.c, line 115
- usr.bin/unexpand/unexpand.c, line 74
- usr.bin/uniq/uniq.c, line 108
- usr.bin/w/w.c, line 150
- usr.bin/wall/wall.c, line 110
- usr.bin/wc/wc.c, line 101
- usr.bin/whereis/whereis.c, line 392
- usr.bin/who/who.c, line 74
- usr.bin/write/write.c, line 93
- usr.bin/xargs/xargs.c, line 133
- usr.sbin/ac/ac.c, line 212
- usr.sbin/cron/crontab/crontab.c, line 97
- usr.sbin/fstyp/fstyp.c, line 201
- usr.sbin/lpr/lpr/lpr.c, line 372
- usr.sbin/pmc/cmd_pmc_stat.c, line 125
- usr.sbin/pw/pw.c, line 128
- usr.sbin/watch/watch.c, line 291