From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4b0e18fccc88be0e8caa3fc420ffa7be@vitanuova.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] seeking for the truth From: rog@vitanuova.com In-Reply-To: <20040214224735.GA25517@bio.cse.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Mon, 16 Feb 2004 20:10:21 +0000 Topicbox-Message-UUID: e6bdc084-eacc-11e9-9e20-41e7f4b1d025 > I'm not sure I like getting rid of it; I feel like buffers ought to > have a cheap way to ask how full they are. stat is no cheaper than read. and since we have fd2path, it's not too difficult to work out where to find the information (for /net at any rate), even if you only have a file descriptor.