tjr 2003/08/07 02:34:51 PDT
FreeBSD src repository
Modified files:
lib/libc/locale mblen.c
Log:
Implement mblen(s, n) as mbtowc(NULL, s, n) to avoid calling sgetrune()
and to simplify things. This is only valid until we start supporting
state-dependent encodings.
Revision Changes Path
1.5 +9 -26 src/lib/libc/locale/mblen.c