site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Cheers, Chris _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On 26 Mar 2008, at 17:18, Steve Checkoway wrote: I did that because stdio functions like fwrite() and printf() do not flush. Actually, printf() flushes when it encounters \n as it turns out, but I don't know if that is behavior you want to depend on. I could have used write() instead which wouldn't have been buffered. You should be able to change the stream's line-buffering behaviour with setvbuf(). This email sent to site_archiver@lists.apple.com