From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] snprint(), getfields() specification From: forsyth@caldo.demon.co.uk MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20010510175436.3410E19A1C@mail.cse.psu.edu> Date: Thu, 10 May 2001 18:51:13 +0100 Topicbox-Message-UUID: 9e2b4a88-eac9-11e9-9e20-41e7f4b1d025 >>If I had to pick one, I'd go for the length routine. If you really >>care, always use it; if you never care, you want the actual number of >>bytes and the snprint (not snprintf) result seems better. would it not also avoid the proliferation of special interfaces for each possible routine that does formatting (including the ones users invent)?