From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <404B49F4.1070107@nospam.com> From: bs User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 MIME-Version: 1.0 To: 9fans@cse.psu.edu Subject: Re: [9fans] libndb References: <20040307013844.3999.qmail@g.galapagos.bx.psu.edu> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 7 Mar 2004 11:12:36 -0500 Topicbox-Message-UUID: 1ec39b2a-eacd-11e9-9e20-41e7f4b1d025 Can i pass null for the buffer and a pointer to the length, and get the length needed to be allocated? > No, it just truncates. Suggest something else if you like. It's easy enough to > call werrstr in it. > > | These do the same thing csgetval, ndbgetval and ndbloolval but take a > | length for the buffer that gets filled. > > How do they signal that it wasn't big enough?