Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2002 05:17:28 -0700 (PDT)
From:      "Tim J. Robbins" <tjr@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdio fgetwc.c fputwc.c
Message-ID:  <200209181217.g8ICHTBB051905@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
tjr         2002/09/18 05:17:28 PDT

  Modified files:
    lib/libc/stdio       fgetwc.c fputwc.c 
  Log:
  Optimise the common case where no special encoding is in use (LC_CTYPE is "C"
  or "POSIX", other European locales). Use __sgetc() and __sputc() where
  possible to avoid a wasteful lock and unlock for each byte and to avoid
  function call overhead.
  
  Revision  Changes    Path
  1.4       +25 -3     src/lib/libc/stdio/fgetwc.c
  1.3       +23 -5     src/lib/libc/stdio/fputwc.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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