Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 2004 08:41:03 -0700 (PDT)
From:      "Tim J. Robbins" <tjr@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdio fgetwc.c
Message-ID:  <200405221541.i4MFf3AX039645@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
tjr         2004/05/22 08:41:03 PDT

  FreeBSD src repository

  Modified files:
    lib/libc/stdio       fgetwc.c 
  Log:
  Perform conversions straight from the stream buffer instead of scanning
  through byte by byte with mbrtowc(). In the usual case (buffer is big
  enough to contain the multibyte character, character does not straddle
  buffer boundary) this results in only one call to mbrtowc() for each
  wide character read.
  
  Revision  Changes    Path
  1.10      +19 -18    src/lib/libc/stdio/fgetwc.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405221541.i4MFf3AX039645>