From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3b828656ea8bbad209d8a8a91f883860@vitanuova.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] seeking for the truth From: rog@vitanuova.com In-Reply-To: <19e0f4ad4799fc7695445eb597fd5c2a@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Thu, 12 Feb 2004 18:10:18 +0000 Topicbox-Message-UUID: e0401630-eacc-11e9-9e20-41e7f4b1d025 > > simpler might be: seekable = seek(fd, 0, 2) > 0; > > now you're talking. pity it doesn't work on /net/tcp/0/data. but i always thought that using the file size for "amount of unbuffered data" was a nasty thing to do... does anything actually use that property?