summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-07-08 06:43:37 +0000
committertjr <tjr@FreeBSD.org>2004-07-08 06:43:37 +0000
commit3a9d81b253cf3999ea62ce29e53a7c1e58396894 (patch)
tree6b88325e31aceec129e4a7871658983a62d5240a /include
parent9cdb603498b8b9bb1d5120526a885118481467b5 (diff)
downloadFreeBSD-src-3a9d81b253cf3999ea62ce29e53a7c1e58396894.zip
FreeBSD-src-3a9d81b253cf3999ea62ce29e53a7c1e58396894.tar.gz
Add a function to iterate over all characters in a particular character
class. This is necessary in order to implement tr(1) efficiently in multibyte locales, since the brute force method of finding all characters in a class is infeasible with a 32-bit (or wider) wchar_t.
Diffstat (limited to 'include')
-rw-r--r--include/wctype.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wctype.h b/include/wctype.h
index 3e2f694..330b5ed 100644
--- a/include/wctype.h
+++ b/include/wctype.h
@@ -85,6 +85,7 @@ wint_t iswnumber(wint_t);
wint_t iswphonogram(wint_t);
wint_t iswrune(wint_t);
wint_t iswspecial(wint_t);
+wint_t nextwctype(wint_t, wctype_t);
#endif
__END_DECLS
OpenPOWER on IntegriCloud