summaryrefslogtreecommitdiffstats
path: root/include/wchar.h
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-10-04 03:18:26 +0000
committertjr <tjr@FreeBSD.org>2002-10-04 03:18:26 +0000
commitf213f77cc2b5bfccabc6b1df6da904e9dcc88383 (patch)
tree0d173f4e040e30d9156e96c95bc7f828c498a795 /include/wchar.h
parent2c7ac0ae064ce7ab8b30d7c30473f92d799a1485 (diff)
downloadFreeBSD-src-f213f77cc2b5bfccabc6b1df6da904e9dcc88383.zip
FreeBSD-src-f213f77cc2b5bfccabc6b1df6da904e9dcc88383.tar.gz
Add a placeholder implementation of wcscoll() and wcsxfrm() which gives
locale-sensitive collation only in single-byte locales, and just does binary comparison for the others with extended character sets.
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h
index 6a85b4d..b62eb19 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -141,6 +141,7 @@ size_t wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict);
wchar_t *wcscat(wchar_t * __restrict, const wchar_t * __restrict);
wchar_t *wcschr(const wchar_t *, wchar_t);
int wcscmp(const wchar_t *, const wchar_t *);
+int wcscoll(const wchar_t *, const wchar_t *);
wchar_t *wcscpy(wchar_t * __restrict, const wchar_t * __restrict);
size_t wcscspn(const wchar_t *, const wchar_t *);
size_t wcsftime(wchar_t * __restrict, size_t, const wchar_t * __restrict,
@@ -156,6 +157,7 @@ size_t wcsrtombs(char * __restrict, const wchar_t ** __restrict, size_t,
mbstate_t * __restrict);
size_t wcsspn(const wchar_t *, const wchar_t *);
wchar_t *wcsstr(const wchar_t * __restrict, const wchar_t * __restrict);
+size_t wcsxfrm(wchar_t * __restrict, const wchar_t * __restrict, size_t);
int wctob(wint_t);
double wcstod(const wchar_t * __restrict, wchar_t ** __restrict);
wchar_t *wcstok(wchar_t * __restrict, const wchar_t * __restrict,
OpenPOWER on IntegriCloud