cvs commit: src/include stdio.h src/lib/libc/stdio feof.c
ferror.c fileno.c getc.c putc.c putchar.c
juli mallett
jmallett at FreeBSD.org
Wed Mar 17 20:02:19 PST 2004
* "Tim J. Robbins" <tjr at FreeBSD.org> [ Date: 2004-03-16 ]
[ w.r.t. cvs commit: src/include stdio.h src/lib/libc/stdio feof.c ferror.c fileno.c getc.c putc.c putchar.c ]
> tjr 2004/03/16 17:43:08 PST
>
> FreeBSD src repository
>
> Modified files:
> include stdio.h
> lib/libc/stdio feof.c ferror.c fileno.c getc.c putc.c
> putchar.c
> Log:
> Re-add macro versions of getc(), getchar(), putc(), putchar(), feof(),
> ferror(), fileno() and clearerr(), using the value of __isthreaded to
> decide between the fast inline single-threaded code and the more
> general function equivalent. This gives most of the performance
> benefits of the old unsafe macros while preserving thread safety.
Thanks!
--
juli mallett. jmallett at freebsd.org. adrift in the pacific.
More information about the cvs-src
mailing list