From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <40628185.4070308@swtch.com> From: Russ Cox User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031221 Thunderbird/0.4 MIME-Version: 1.0 To: 9fans@cse.psu.edu Subject: Re: [9fans] errstr(2) References: <200403250643.i2P6hROt060541@adat.davidashen.net> In-Reply-To: <200403250643.i2P6hROt060541@adat.davidashen.net> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 25 Mar 2004 01:51:49 -0500 Topicbox-Message-UUID: 408a15cc-eacd-11e9-9e20-41e7f4b1d025 David Tolpin wrote: >Hi, > >is ERRMAX the 'official' limit on the length of the buffer filled by >errstr? > > there is no official limit. that's why you pass your own limit to the kernel. ERRMAX is what the kernel is likely to keep around, but it's okay for user and kernel to disagree.