cvs commit: src/include wctype.h src/lib/libc/locale Makefile.inc
nextwctype.3 nextwctype.c
Tim J. Robbins
tjr at FreeBSD.org
Wed Jul 7 23:43:37 PDT 2004
tjr 2004-07-08 06:43:37 UTC
FreeBSD src repository
Modified files:
include wctype.h
lib/libc/locale Makefile.inc
Added files:
lib/libc/locale nextwctype.3 nextwctype.c
Log:
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.
Revision Changes Path
1.12 +1 -0 src/include/wctype.h
1.56 +2 -2 src/lib/libc/locale/Makefile.inc
1.1 +58 -0 src/lib/libc/locale/nextwctype.3 (new)
1.1 +90 -0 src/lib/libc/locale/nextwctype.c (new)
More information about the cvs-all
mailing list