freebsd-dev/lib/libc/locale
Tim J. Robbins dab4fca49b Implement btowc() in terms of mbrtowc() instead of sgetrune(), and
wctob() in terms of wcrtomb() instead of sputrune(). There should be
no functional differences, but there may be a small performance hit
because we make an extra function call.

The aim here is to have as few functions as possible calling
s{get,put}rune() to make it easier to remove them in the future.
2003-08-07 07:45:35 +00:00
..
big5.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
btowc.3 Add cross references to mbrtowc(3) and wcrtomb(3). 2002-11-10 11:14:58 +00:00
btowc.c Implement btowc() in terms of mbrtowc() instead of sgetrune(), and 2003-08-07 07:45:35 +00:00
collate.c Remove unnecessary inclusion of <rune.h> to make it obvious that this file 2002-10-29 09:03:57 +00:00
collate.h Prepare for switching to unlimited chains format. 2002-08-30 20:26:02 +00:00
collcmp.c Restore including of "collate.h", for its own prototype (mis)match detection 2003-08-03 19:28:23 +00:00
ctype.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
digittoint.3 mdoc(7) police: tidy up. 2002-03-18 15:44:27 +00:00
euc.4 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
euc.5 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
euc.c Add safeguards to never use errno == 0 as setrunelocale() error return code 2002-08-09 08:22:29 +00:00
fix_grouping.c . style(9) 2003-06-26 10:46:16 +00:00
frune.c Mark the following interfaces as OBSOLETE_IN_6: 2003-06-13 07:13:54 +00:00
gb18030.c Add support for gb18030 encoding 2003-07-29 07:52:44 +00:00
gbk.c Add GBK encoding 2003-06-01 15:30:56 +00:00
isalnum.3 Add a note to the Compatiblity section suggesting that these functions 2002-10-06 10:15:38 +00:00
isalpha.3 Add a note to the Compatiblity section suggesting that these functions 2002-10-06 10:15:38 +00:00
isascii.3 Add a note to the Compatiblity section suggesting that these functions 2002-10-06 10:15:38 +00:00
isblank.3 mdoc(7) police: "The .Fn function". 2002-12-18 12:45:11 +00:00
iscntrl.3 Capitalize ASCII code names. 2002-12-05 08:50:00 +00:00
isctype.c Cosmetic - remove unneded brackets and #undef 2002-08-17 20:03:44 +00:00
isdigit.3 Add a note to the Compatiblity section suggesting that these functions 2002-10-06 10:15:38 +00:00
isgraph.3 Add a note to the Compatiblity section suggesting that these functions 2002-10-06 10:15:38 +00:00
islower.3 Add a note to the Compatiblity section suggesting that these functions 2002-10-06 10:15:38 +00:00
isprint.3 Add a note to the Compatiblity section suggesting that these functions 2002-10-06 10:15:38 +00:00
ispunct.3 Add a note to the Compatiblity section suggesting that these functions 2002-10-06 10:15:38 +00:00
isspace.3 Add a note to the Compatiblity section suggesting that these functions 2002-10-06 10:15:38 +00:00
isupper.3 Add a note to the Compatiblity section suggesting that these functions 2002-10-06 10:15:38 +00:00
iswalnum.3 mdoc(7) police: sweep. 2002-11-29 17:35:09 +00:00
iswctype.c Move wcwidth() to separate file, it doesn't belong to iswctype.c at all 2002-08-17 20:30:34 +00:00
isxdigit.3 Add a note to the Compatiblity section suggesting that these functions 2002-10-06 10:15:38 +00:00
ldpart.c . style(9) 2003-06-26 10:46:16 +00:00
ldpart.h Fixes to locale code to properly use indirect pointers in order to prevent 2003-06-13 00:14:07 +00:00
lmessages.c . style(9) 2003-06-26 10:46:16 +00:00
lmessages.h style(9)'ify 2001-12-20 18:28:52 +00:00
lmonetary.c . style(9) 2003-06-26 10:46:16 +00:00
lmonetary.h Add support for the 6 new C99 struct lconv members dealing with formatting 2002-10-09 09:19:28 +00:00
lnumeric.c . style(9) 2003-06-26 10:46:16 +00:00
lnumeric.h style(9)'ify 2001-12-20 18:28:52 +00:00
localeconv.c . style(9) 2003-06-26 10:46:16 +00:00
Makefile.inc Add support for gb18030 encoding 2003-07-29 07:52:44 +00:00
mblen.c Handle boundary cases more correctly; mblen(s, 0) and mbtowc(NULL, s, 0) 2002-10-28 08:24:46 +00:00
mbrlen.3 mdoc(7) police: sweep. 2002-11-29 17:35:09 +00:00
mbrlen.c Style: One space between "restrict" qualifier and "*". 2002-09-06 11:24:06 +00:00
mbrtowc.3 mdoc(7) police: sweep. 2002-11-29 17:35:09 +00:00
mbrtowc.c Don't check whether the first byte of the buffer is a null byte when 2002-11-10 10:49:14 +00:00
mbrune.3 The .Fn function 2003-02-06 11:04:47 +00:00
mbrune.c Mark the following interfaces as OBSOLETE_IN_6: 2003-06-13 07:13:54 +00:00
mbsinit.3 mdoc(7) police: sweep. 2002-11-29 17:35:09 +00:00
mbsinit.c Implement the ISO C90 Amd.1 restartable wide and multibyte character 2002-08-18 06:30:10 +00:00
mbsrtowcs.3 mdoc(7) police: sweep. 2002-11-29 17:35:09 +00:00
mbsrtowcs.c Style: One space between "restrict" qualifier and "*". 2002-09-06 11:24:06 +00:00
mbstowcs.c Add a missing return statement for the pwcs == NULL case (XSI extension). 2002-11-09 04:13:26 +00:00
mbtowc.c Handle boundary cases more correctly; mblen(s, 0) and mbtowc(NULL, s, 0) 2002-10-28 08:24:46 +00:00
mskanji.c FA, FB and FC are lead bytes according to recent Microsoft documentation. 2002-10-14 01:50:45 +00:00
multibyte.3 The .Fn function 2003-02-06 11:04:47 +00:00
nl_langinfo.3 This was recently MFC'd, so it will appear in 4.6. 2002-04-13 04:25:56 +00:00
nl_langinfo.c . style(9) 2003-06-26 10:46:16 +00:00
nomacros.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
none.c Avoid truncating invalid wide characters that are outside the range of 2002-10-16 11:37:38 +00:00
rune.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
rune.c Add safeguards to never use errno == 0 as setrunelocale() error return code 2002-08-09 08:22:29 +00:00
runetype.c o Merge <machine/ansi.h> and <machine/types.h> into a new header 2002-08-21 16:20:02 +00:00
setinvalidrune.c Mark the following interfaces as OBSOLETE_IN_6: 2003-06-13 07:13:54 +00:00
setlocale.3 Assorted mdoc(7) fixes. 2003-05-22 13:02:28 +00:00
setlocale.c Reorganize wrapper around setrunelocale() to mark it as deprecated 2003-07-06 02:03:37 +00:00
setlocale.h Reorganize wrapper around setrunelocale() to mark it as deprecated 2003-07-06 02:03:37 +00:00
setrunelocale.c Add support for gb18030 encoding 2003-07-29 07:52:44 +00:00
table.c Move _PathLocale declaration to more logical place (setlocale.c) 2003-06-25 22:34:13 +00:00
toascii.3 From the PR: 2002-01-09 13:43:31 +00:00
tolower.3 Point out that although toupper() and tolower() really accept rune_t's 2002-10-03 11:14:00 +00:00
tolower.c o Merge <machine/ansi.h> and <machine/types.h> into a new header 2002-08-21 16:20:02 +00:00
toupper.3 Point out that although toupper() and tolower() really accept rune_t's 2002-10-03 11:14:00 +00:00
toupper.c o Merge <machine/ansi.h> and <machine/types.h> into a new header 2002-08-21 16:20:02 +00:00
towlower.3 mdoc(7) police: sweep. 2002-11-29 17:35:09 +00:00
towupper.3 mdoc(7) police: sweep. 2002-11-29 17:35:09 +00:00
utf2.4 Add a UTF-8 encoding method, which will eventually replace the antique 2002-10-10 22:56:18 +00:00
utf2.5 Add a UTF-8 encoding method, which will eventually replace the antique 2002-10-10 22:56:18 +00:00
utf2.c Mark the following interfaces as OBSOLETE_IN_6: 2003-06-13 07:13:54 +00:00
utf8.5 mdoc(7) police: sweep. 2002-11-29 17:35:09 +00:00
utf8.c Whack 28 unused variables. 2003-02-18 13:39:52 +00:00
wcrtomb.3 mdoc(7) police: sweep. 2002-11-29 17:35:09 +00:00
wcrtomb.c When called with s == NULL, behave as if wc == L'\0' as required by the 2003-04-10 09:20:38 +00:00
wcsftime.3 mdoc(7) police: sweep. 2002-11-29 17:35:09 +00:00
wcsftime.c Use the heap instead of the stack to store temporary multibyte string 2002-09-15 08:06:17 +00:00
wcsrtombs.3 mdoc(7) police: sweep. 2002-11-29 17:35:09 +00:00
wcsrtombs.c Style: One space between "restrict" qualifier and "*". 2002-09-06 11:24:06 +00:00
wcstod.3 Assorted mdoc(7) fixes. 2003-05-22 13:02:28 +00:00
wcstod.c Fix a bad free() call that would occur if some #if 0'd code was used. 2003-02-22 00:06:05 +00:00
wcstof.c MFp4: Implementations of the wcstof() and wcstold() functions. 2003-03-13 06:29:53 +00:00
wcstoimax.c Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
wcstol.3 mdoc(7) police: sweep. 2002-11-29 17:35:09 +00:00
wcstol.c Add wcstol() and wcstoul(), based on strtol() and strtoul(). 2002-09-08 13:27:26 +00:00
wcstold.c MFp4: Implementations of the wcstof() and wcstold() functions. 2003-03-13 06:29:53 +00:00
wcstoll.c Add the remaining C99 wide character string to integer conversion functions. 2002-09-22 08:06:45 +00:00
wcstombs.c Style sweep. 2002-10-27 10:41:21 +00:00
wcstoul.c Add wcstol() and wcstoul(), based on strtol() and strtoul(). 2002-09-08 13:27:26 +00:00
wcstoull.c Add the remaining C99 wide character string to integer conversion functions. 2002-09-22 08:06:45 +00:00
wcstoumax.c Add the remaining C99 wide character string to integer conversion functions. 2002-09-22 08:06:45 +00:00
wctob.c Implement btowc() in terms of mbrtowc() instead of sgetrune(), and 2003-08-07 07:45:35 +00:00
wctomb.c Style sweep. 2002-10-27 10:41:21 +00:00
wctrans.3 mdoc(7) police: sweep. 2002-11-29 17:35:09 +00:00
wctrans.c Use wide character ctype functions directly instead of relying on 2002-11-09 05:19:08 +00:00
wctype.3 mdoc(7) police: sweep. 2002-11-29 17:35:09 +00:00
wctype.c Change wctype_t to an unsigned type to avoid warnings. 2002-08-04 12:43:53 +00:00
wcwidth.3 mdoc(7) police: sweep. 2002-11-29 17:35:09 +00:00
wcwidth.c Use modern-style arguments declaration 2002-08-19 20:32:27 +00:00