Date: Thu, 14 Jun 2001 11:40:55 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp-workers AT delorie DOT com Subject: Re: djgpp: djgpp/src/libc/posix/unistd/confstr.txh In-Reply-To: <200106140303.XAA20065@delorie.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 13 Jun 2001, cvs-snowball AT delorie DOT com wrote: > + @subheading Return Value > + > + If @var{name} has a defined value, the minimum size of the buffer required > + to hold the string including the terminating null is returned. If this value > + is greater than @var{len}, then @var{buf} is truncated. > + > + If @var{name} does not have a defined value, zero is returned and errno is > + set to @code{EINVAL}. I see that the code also returns zero if DJDIR is undefined (can happen if someone installs one of the *b.zip packages without djdev), but in that case errno is not set. Is that a bug in the code, or should we amend the docs?