History log of /freebsd-10.3-release/lib/libc/locale/mbtowc.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 296373 04-Mar-2016 marius

- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.3.
- Update default pkg(8) configuration to use the quarterly branch.

Approved by: re (implicit)

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 227753 20-Nov-2011 theraven

Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a
load of _l suffixed versions of various standard library functions that use
the global locale, making them take an explicit locale parameter. Also
adds support for per-thread locales. This work was funded by the FreeBSD
Foundation.

Please test any code you have that uses the C standard locale functions!

Reviewed by: das (gdtoa changes)
Approved by: dim (mentor)


# 132821 29-Jul-2004 tjr

Remove unnecessary #include directives.


# 132819 29-Jul-2004 tjr

Remove useless checks for characters longer than INT_MAX bytes.


# 129154 12-May-2004 tjr

Reduce overhead by calling internal versions of the multibyte conversion
functions directly wherever possible.


# 127944 06-Apr-2004 tjr

Prepare to handle state-dependent encodings. This mainly involves not
taking shortcuts when it comes to storing and passing around conversion
states.


# 118591 07-Aug-2003 tjr

Implement mbtowc() in terms of mbrtowc(), and wctomb() in terms of wcrtomb().


# 106077 28-Oct-2002 tjr

Handle boundary cases more correctly; mblen(s, 0) and mbtowc(NULL, s, 0)
return -1 regardless of what s points to, mbtowc(&w, s, 1) sets w to a
null wide character when s points to a null byte. This seems to be closer
to what most other implementations do, but the C99 standard contradicts
itself for these cases.


# 106032 27-Oct-2002 tjr

Style sweep.


# 103012 06-Sep-2002 tjr

Style: One space between "restrict" qualifier and "*".


# 102879 03-Sep-2002 tjr

Set errno to EILSEQ when invalid multibyte sequences are detected
(XSI extension to 1003.1-2001).


# 102762 01-Sep-2002 tjr

Add restrict qualifiers to the arguments of mbstowcs, mbtowc() and
wcstombs().


# 102697 31-Aug-2002 tjr

Split ansi.c into a separate source file for each function.