Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Dec 1997 15:56:05 +0300 (MSK)
From:      =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.pp.ru>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/libc/stdio snprintf.c vsnprintf.c
Message-ID:  <Pine.BSF.3.96.971224155427.15423A-100000@lsd.relcom.eu.net>
In-Reply-To: <199712241231.EAA19337@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 24 Dec 1997, Andrey A. Chernov wrote:

>   EOF in our implementation, so we can't distinguish true IO error

or argument error, f.e. n = -1 (too big unsigned).

>   in that case. So 0 here is only possible case still conforming
>   to Single Unix specs.

-2 f.e. is also possible, but meaningless and not compatible with others
(Linux, Apache).

-- 
Andrey A. Chernov
<ache@nietzsche.net>
http://www.nagual.pp.ru/~ache/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971224155427.15423A-100000>