On Thu, 14 Apr 2005, Rob Pike wrote:

>   int isatty(int) {return 0;}

excellent. 

You know, we did do this on linux via LD_PRELOAD hackery, and of course it
didn't work with glibc, since library functions in glibc don't bother
calling that function -- inlines, macros, all that great stuff you know --
it's really important to optimize isatty() calls, as they are so frequent.

ron

Reply via email to