cvs commit: src/lib/libc/locale mblen.c

Tim J. Robbins tjr at FreeBSD.org
Thu Aug 7 02:34:52 PDT 2003


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


More information about the cvs-src mailing list