mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
mbstowcs: Remove outdated comment
ISO C requires that there is no effect on any global conversion state,
so the change in commit 9f097308c7
was
correct in princple.
This commit is contained in:
parent
8cac1f2635
commit
017801880b
@ -1,3 +1,7 @@
|
||||
2018-08-13 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
|
||||
|
||||
2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
|
||||
|
||||
* benchtests/scripts/benchout.schema.json (properties): Add
|
||||
|
@ -22,12 +22,7 @@
|
||||
|
||||
/* Convert the string of multibyte characters in S to `wchar_t's in
|
||||
PWCS, writing no more than N. Return the number written,
|
||||
or (size_t) -1 if an invalid multibyte character is encountered.
|
||||
|
||||
Attention: this function should NEVER be intentionally used.
|
||||
The interface is completely stupid. The state is shared between
|
||||
all conversion functions. You should use instead the restartable
|
||||
version `mbsrtowcs'. */
|
||||
or (size_t) -1 if an invalid multibyte character is encountered. */
|
||||
size_t
|
||||
mbstowcs (wchar_t *pwcs, const char *s, size_t n)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user