From: Ian Macdonald Date: 2002-06-22T02:26:15+09:00 Subject: Re: Why is I/O slow? On Fri 21 Jun 2002 at 17:13:40 +0900, Yukihiro Matsumoto wrote: > "stdio" just doesn't provide the way to distinguish buffered and > unbuffered input. And glibc does not exist everywhere. So I have to > do the job by myself, if I want to tweak the buffer. And I want to. But if you're agreeing that you don't need to tweak the buffer with glibc, then why don't you just place an #ifdef macro for Linux around that piece of code? If using glibc makes sense in the cases that it's available, why would you not want to do so in such cases? Ian -- Ian Macdonald | Message will arrive in the mail. Destroy, ian@caliban.org | before the FBI sees it. | | |