Mail Archives: djgpp-workers/2001/06/14/04:39:37
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?
- Raw text -