History log of /haiku/headers/posix/wchar.h
Revision Date Author Comments
# c95c1876 02-Nov-2022 Jérôme Duval <jerome.duval@gmail.com>

POSIX: wchar.h and wctype.h don't need the locale.h but locale_t.h

* missed in hrev56270.
* mentioned on IRC: <dwa> please ask them if wchar.h isn't meant to include locale_t.h instead of locale.h

Change-Id: Ia9b7553480430c2fefb4a3659ad525322152582b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5797
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# d338200e 30-May-2022 Trung Nguyen <trungnt282910@gmail.com>

libs/posix: Implemented new locale functions

Implemented the missing POSIX functions in <locale.h>:
newlocale, duplocale, uselocale, and freelocale, and also
provided missing type definitions for <locale.h>.

Implemented missing POSIX locale-based function variants.

Modified LocaleBackend so that it could support thread-local
locales.

Some glibc-like locale-related variables supporting
ctype and printf family of functions have also been updated
to reflect the thread-local variables present in the latest
glibc sources.

As there have been some modifications to global symbols
in libroot, libroot_stubs.c has been regenerated.

Bug: #17168
Change-Id: Ibf296c58c47d42d1d1dfb2ce64042442f2679431
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5351
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# a5f30bea 13-Dec-2014 Puck Meerburg <puck@puckipedia.nl>

Fix #7008: Add a64l and l64a from glibc, and add some missing definitions in wchar.h and stdlib.h

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>


# 2f32fd1d 07-Jun-2014 Jérôme Duval <jerome.duval@gmail.com>

wchar.h & string.h: use _GNU_SOURCE instead of __USE_GNU.


# 76509315 01-Oct-2013 Adrien Destugues <pulkomandy@pulkomandy.tk>

Rename parameters to avoid compile error

* warning: declaration of `signal' shadows global declaration


# 63fe8ecd 15-Nov-2012 Ithamar R. Adema <ithamar@upgrade-android.com>

wchar.h: fix header comment style.

Comment uses C++ style, while it can be compiled in a C-only environment. This
broke the ICU cross compilation (done for ARM).


# 173f54f1 19-Jul-2012 Matt Madia <mattmadia@gmail.com>

Updated copyright in headers. No functional change.


# 752527a8 07-Jan-2012 Oliver Tappe <zooey@hirschkaefer.de>

Cleanup: correct variable name in mbrtowc() signature.


# b7417fbe 07-Jan-2012 Oliver Tappe <zooey@hirschkaefer.de>

Switch wchar from glibc to our own implementations.


# ec99f3b2 15-Dec-2011 Oliver Tappe <zooey@hirschkaefer.de>

Adjust mbstate_t to embed the state of the ICU converter.

* make room in mbstate_t for containing an ICU-converter's state
(well, in fact the whole converter object)
* adjust libroot's locale add-on to clone converters into a given
mbstate_t directly
* adjust ICUThreadLocalStorageValue to contain the converter pointer
instead of a converter-ID (if the converter is related to an
mbstate_t, it points into the mbstate_t).
* adjust users of converters to directly use converter pointers
instead of ICUConverterRef
* drop now unused ICUConverterManager and ICUConverterRef
* update gcc4 optional package

This brings our multibyte implementation into a fully working state,
both non-ascii and non-8-bit characters can now be handled normally
in the Terminal, i.e. this finally fixes #6276.

N.B.: Since the size of mbstate_t has changed, everything (including
the compiler!) needs to be rebuilt.


# cfe553b3 07-Dec-2011 Oliver Tappe <zooey@hirschkaefer.de>

Squash TODO: __STDC_ISO_10646__ is being defined now.


# fa02fc69 22-Nov-2011 Oliver Tappe <zooey@hirschkaefer.de>

Adjust mbstate_t to what we need.

* we maintain the character count and the ID of the corresponding
ICU converter in mbstate_t


# d9a26469 30-May-2011 Oliver Tappe <zooey@hirschkaefer.de>

Fix #6969 (hopefully for real this time):
* move all the isw... functions from wchar.h to wctype.h (just following version 7
of the POSIX base specs)
* remove all declarations from wchar.h that are in wctype.h, too


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41832 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a3f66598 23-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

* reintegrated posix-locale

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37725 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bca50be4 23-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

Second go at fixing what should have been part of r31927:
* uncommented fwscanf() in wchar.h to make it available
* imported wcsftime() from FreeBSD-8 (which just wraps strftime()), so that we
not only declare it, but provide an implementation, too
As a result, the next build of gcc4 should be able to detect full support for wchar_t and in turn activate wchar_t-based template types (like std::wstring).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37720 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8ab6671a 21-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

* reverted r37669, as gcc4 enables wchar_t-related template types, but
then fails to build them because of wcsftime() missing
Needs more investigation ...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37674 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 887a1066 21-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

Fix that should have been part of r31927:
* uncommented fwscanf() in wchar.h to make it available
As a result, the next build of gcc4 should be able to detect full support for wchar_t and in turn activate wchar_t-based template types (like std::wstring).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37669 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b7b67e72 21-Nov-2009 Jérôme Duval <korli@users.berlios.de>

correctly ordered


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34171 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8684e35a 21-Nov-2009 Jérôme Duval <korli@users.berlios.de>

added wcsdup to wchar.h


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34169 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c73ea821 09-Nov-2009 Axel Dörfler <axeld@pinc-software.de>

* Removed superfluous wcstoul() version pointed out by Scott.
* Removed superfluous "int" before wcstol().
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33957 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 22529119 31-Jul-2009 Rene Gollent <anevilyak@gmail.com>

Add missing definition for wcsstr. This was preventing clucene from building with wide chars enabled.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32038 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a64a5357 29-Jul-2009 Oliver Tappe <zooey@hirschkaefer.de>

* added missing declarations of all the scanf() variants, as we now provide
those, too. Among other things, this should facilitate making use of wstring
with gcc4.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31927 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 510c100a 22-Jun-2009 Oliver Tappe <zooey@hirschkaefer.de>

* synced wchar.h with POSIX and the implementations provided by our libroot
* added WCHAR_MIN and WCHAR_MAX - already as 32-bit values, since that's
what wchar_t is going to become, soon (and those values could not have
been used before, since they were missing)
* this is still work-in-progress though, I need to run more tests to find
out which of these functions are actually working, too


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31182 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1d19f96f 19-Aug-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

Removed my Copyright notice, assign future copyright to Haiku Inc, in contribution to ticket #2191

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27068 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b9320128 10-May-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Patch by Andreas Faerber:
Replaced single-line comments by multi-line comments for ANSI C
compliance.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25433 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 404a0fea 16-Mar-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Second stab at reorganizing standard/gcc headers. This time it not only
builds on Linux with gcc 2 and 4, but the images do even run. :-) Not
tested on BeOS.

* Removed stddef.h and stdarg.h. They are provided by the compiler.
* Adjusted size_t.h, wchar_t.h, and wchar.h accordingly.
* Made stdio.h avoid gcc 2.95.3's fixincludes hack stdio_va_list
* Added gcc 2.95.3 headers to the repository. They are used instead of
the headers of the gcc 2.95.3's we use to compile Haiku with. Should
avoid build problems with the BeOS native compiler.

For sake of personal recreation you can rebuild the cross gcc 2.95.3,
but the only thing that changed is its header directory
(lib/gcc-lib/.../include), which isn't used anymore. Replacing it with
headers/build/gcc-2.95.3 should have the same effect as rebuilding, BTW.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24413 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d8ce64a2 15-Mar-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Reverted r24406. If it builds, it doesn't always work as well. The
change resulted in "version mismatch between boot loader and kernel". So
apparently the size of some type changed unintentionally.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24408 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6191d9a8 15-Mar-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Removed our stddef.h. We don't need it, since gcc comes with one that
under Haiku overrides ours anyway.
* Adjusted size_t.h, wchar_t.h, wchar.h accordingly. This should fix the
annoying "ssize_t redefined" warnings when compiling under Haiku.
* When building Haiku the gcc headers come first in the include
search path now, as it should be. The respective TODO suggested that
this might break the build depending on compiler version and host
platform. I've tested with Linux gcc 2 and gcc 4, which work fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24406 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 30589be5 03-Mar-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Added C++ guard. I don't know, why we define the <wctype.h> protos both
there and in <wchar.h>. Any reason for not removing them in <wctype.h>? Or
maybe even nicer reverse the inclusion direction, i.e. remove the
duplicate protos in <wchar.h> and include <wctype.h> instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20317 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e589b330 16-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

Should fix the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16817 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a34963f3 16-Mar-2006 Jérôme Duval <korli@users.berlios.de>

added posix_gnu_string
added more posix definitions


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16813 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e0f9a4e8 14-Mar-2006 Jérôme Duval <korli@users.berlios.de>

added some wchar.h definitions


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16803 a95241bf-73f2-0310-859d-f6bbb57e9c96


# abd010bc 22-Feb-2005 Jérôme Duval <korli@users.berlios.de>

Moved mbstate to wchar.h
Restored glibc/wcsmbs/wchar.h


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11451 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0cb1c46a 30-Dec-2003 shatty <shatty@nowhere.fake>

add header protection, and two posix compliant prototypes that are provided by R5 libroot.so


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5814 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e48a877c 23-Oct-2002 beveloper <beveloper@nowhere.fake>

a few new headers for compatibility


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1625 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a5f30beaadfb2f99c44ba85db889c20a4d22f89b 13-Dec-2014 Puck Meerburg <puck@puckipedia.nl>

Fix #7008: Add a64l and l64a from glibc, and add some missing definitions in wchar.h and stdlib.h

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>


# 2f32fd1ddea249d0b18e4d87fb8c93e66a33e373 07-Jun-2014 Jérôme Duval <jerome.duval@gmail.com>

wchar.h & string.h: use _GNU_SOURCE instead of __USE_GNU.


# 765093157245cecdde3aaa52b013021a33f646eb 01-Oct-2013 Adrien Destugues <pulkomandy@pulkomandy.tk>

Rename parameters to avoid compile error

* warning: declaration of `signal' shadows global declaration


# 63fe8ecdd98f53cc8710746ec9343a9b08838594 15-Nov-2012 Ithamar R. Adema <ithamar@upgrade-android.com>

wchar.h: fix header comment style.

Comment uses C++ style, while it can be compiled in a C-only environment. This
broke the ICU cross compilation (done for ARM).


# 173f54f1473bd6a6511c5fc6dc899c91fb8dd667 19-Jul-2012 Matt Madia <mattmadia@gmail.com>

Updated copyright in headers. No functional change.


# 752527a8feb87b555a0bff8af62365b6f3226529 07-Jan-2012 Oliver Tappe <zooey@hirschkaefer.de>

Cleanup: correct variable name in mbrtowc() signature.


# b7417fbec1977006971f93c91a288138a9462e5a 07-Jan-2012 Oliver Tappe <zooey@hirschkaefer.de>

Switch wchar from glibc to our own implementations.


# ec99f3b2a665ab678c6c8ae3c7bd1c6a0d34fb68 15-Dec-2011 Oliver Tappe <zooey@hirschkaefer.de>

Adjust mbstate_t to embed the state of the ICU converter.

* make room in mbstate_t for containing an ICU-converter's state
(well, in fact the whole converter object)
* adjust libroot's locale add-on to clone converters into a given
mbstate_t directly
* adjust ICUThreadLocalStorageValue to contain the converter pointer
instead of a converter-ID (if the converter is related to an
mbstate_t, it points into the mbstate_t).
* adjust users of converters to directly use converter pointers
instead of ICUConverterRef
* drop now unused ICUConverterManager and ICUConverterRef
* update gcc4 optional package

This brings our multibyte implementation into a fully working state,
both non-ascii and non-8-bit characters can now be handled normally
in the Terminal, i.e. this finally fixes #6276.

N.B.: Since the size of mbstate_t has changed, everything (including
the compiler!) needs to be rebuilt.


# cfe553b3785de040f3bda8e3e950b894ccd219a2 07-Dec-2011 Oliver Tappe <zooey@hirschkaefer.de>

Squash TODO: __STDC_ISO_10646__ is being defined now.


# fa02fc690733b0189f91ba43b5503e986f148ed8 22-Nov-2011 Oliver Tappe <zooey@hirschkaefer.de>

Adjust mbstate_t to what we need.

* we maintain the character count and the ID of the corresponding
ICU converter in mbstate_t


# d9a26469dfeaaa054fd884bf626a8f4152d72b3e 30-May-2011 Oliver Tappe <zooey@hirschkaefer.de>

Fix #6969 (hopefully for real this time):
* move all the isw... functions from wchar.h to wctype.h (just following version 7
of the POSIX base specs)
* remove all declarations from wchar.h that are in wctype.h, too


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41832 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a3f665982e2e078ba42e7bf941bd5f3dd8989c55 23-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

* reintegrated posix-locale

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37725 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bca50be43235059c4b5de7c2b0443db0f6afe7b6 23-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

Second go at fixing what should have been part of r31927:
* uncommented fwscanf() in wchar.h to make it available
* imported wcsftime() from FreeBSD-8 (which just wraps strftime()), so that we
not only declare it, but provide an implementation, too
As a result, the next build of gcc4 should be able to detect full support for wchar_t and in turn activate wchar_t-based template types (like std::wstring).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37720 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8ab6671aad7dbe47453231380826382962ad7f98 21-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

* reverted r37669, as gcc4 enables wchar_t-related template types, but
then fails to build them because of wcsftime() missing
Needs more investigation ...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37674 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 887a1066e4734de270997c1e60aef83f893a1448 21-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

Fix that should have been part of r31927:
* uncommented fwscanf() in wchar.h to make it available
As a result, the next build of gcc4 should be able to detect full support for wchar_t and in turn activate wchar_t-based template types (like std::wstring).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37669 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b7b67e723af5e49b0620b993cb27ace8e5315f40 21-Nov-2009 Jérôme Duval <korli@users.berlios.de>

correctly ordered


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34171 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8684e35ad7a33953c22fbb5a8bea6604a4415db0 21-Nov-2009 Jérôme Duval <korli@users.berlios.de>

added wcsdup to wchar.h


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34169 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c73ea8216d6ccfff04d962d38c9da3b9e4a94fa7 09-Nov-2009 Axel Dörfler <axeld@pinc-software.de>

* Removed superfluous wcstoul() version pointed out by Scott.
* Removed superfluous "int" before wcstol().
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33957 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2252911973669dbaf7b05c774a443e27c3ee2e95 31-Jul-2009 Rene Gollent <anevilyak@gmail.com>

Add missing definition for wcsstr. This was preventing clucene from building with wide chars enabled.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32038 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a64a5357f2d87c026cef27442809fa9af4042e63 29-Jul-2009 Oliver Tappe <zooey@hirschkaefer.de>

* added missing declarations of all the scanf() variants, as we now provide
those, too. Among other things, this should facilitate making use of wstring
with gcc4.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31927 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 510c100a8fa7e49c10a9971f76ec9ab70a51f0e4 22-Jun-2009 Oliver Tappe <zooey@hirschkaefer.de>

* synced wchar.h with POSIX and the implementations provided by our libroot
* added WCHAR_MIN and WCHAR_MAX - already as 32-bit values, since that's
what wchar_t is going to become, soon (and those values could not have
been used before, since they were missing)
* this is still work-in-progress though, I need to run more tests to find
out which of these functions are actually working, too


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31182 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1d19f96fff7d064d6589ba2200baabdd4e0c00eb 19-Aug-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

Removed my Copyright notice, assign future copyright to Haiku Inc, in contribution to ticket #2191

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27068 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b93201281504cee31f4186f7c6548815940c576e 10-May-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Patch by Andreas Faerber:
Replaced single-line comments by multi-line comments for ANSI C
compliance.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25433 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 404a0fea4653b894fabf4d5fee8e73df7bf84e75 16-Mar-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Second stab at reorganizing standard/gcc headers. This time it not only
builds on Linux with gcc 2 and 4, but the images do even run. :-) Not
tested on BeOS.

* Removed stddef.h and stdarg.h. They are provided by the compiler.
* Adjusted size_t.h, wchar_t.h, and wchar.h accordingly.
* Made stdio.h avoid gcc 2.95.3's fixincludes hack stdio_va_list
* Added gcc 2.95.3 headers to the repository. They are used instead of
the headers of the gcc 2.95.3's we use to compile Haiku with. Should
avoid build problems with the BeOS native compiler.

For sake of personal recreation you can rebuild the cross gcc 2.95.3,
but the only thing that changed is its header directory
(lib/gcc-lib/.../include), which isn't used anymore. Replacing it with
headers/build/gcc-2.95.3 should have the same effect as rebuilding, BTW.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24413 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d8ce64a27f34d45ca40fa3ab92f32602ecb717a6 15-Mar-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Reverted r24406. If it builds, it doesn't always work as well. The
change resulted in "version mismatch between boot loader and kernel". So
apparently the size of some type changed unintentionally.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24408 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6191d9a8da5f223a2f610efe56f09f4d86857aa3 15-Mar-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Removed our stddef.h. We don't need it, since gcc comes with one that
under Haiku overrides ours anyway.
* Adjusted size_t.h, wchar_t.h, wchar.h accordingly. This should fix the
annoying "ssize_t redefined" warnings when compiling under Haiku.
* When building Haiku the gcc headers come first in the include
search path now, as it should be. The respective TODO suggested that
this might break the build depending on compiler version and host
platform. I've tested with Linux gcc 2 and gcc 4, which work fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24406 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 30589be58b8a1e7e6832045aed98a230a58c1dc2 03-Mar-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Added C++ guard. I don't know, why we define the <wctype.h> protos both
there and in <wchar.h>. Any reason for not removing them in <wctype.h>? Or
maybe even nicer reverse the inclusion direction, i.e. remove the
duplicate protos in <wchar.h> and include <wctype.h> instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20317 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e589b330206ac9f5bb1fb1f091f12ef405b898d6 16-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

Should fix the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16817 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a34963f388a39217b340f32aae95bfd807056a40 16-Mar-2006 Jérôme Duval <korli@users.berlios.de>

added posix_gnu_string
added more posix definitions


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16813 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e0f9a4e8156e1ae05ec416428505d18eced96a5e 14-Mar-2006 Jérôme Duval <korli@users.berlios.de>

added some wchar.h definitions


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16803 a95241bf-73f2-0310-859d-f6bbb57e9c96


# abd010bc61b9c4589db23604c3ac8c705b257b0b 22-Feb-2005 Jérôme Duval <korli@users.berlios.de>

Moved mbstate to wchar.h
Restored glibc/wcsmbs/wchar.h


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11451 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0cb1c46a46ea56b8ac450629f64408094a1fd98b 30-Dec-2003 shatty <shatty@nowhere.fake>

add header protection, and two posix compliant prototypes that are provided by R5 libroot.so


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5814 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e48a877c93306768802a44339dc775d7b9530d05 23-Oct-2002 beveloper <beveloper@nowhere.fake>

a few new headers for compatibility


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1625 a95241bf-73f2-0310-859d-f6bbb57e9c96