>> In the GNU and UC versions of the libc (at least), the
>> scanf/fscanf/sscanf... functions seem to be calling strtoxxx
>> internally for number conversions.
>>
>> In doing so, errno may be set to ERANGE when the input doesn't
>> fit in the number size requested
>
> Okay -- I verified this.
>
> One of the problems here of course is that the scanf.3 page currently
> doesn't document *any* errors...

Okay -- I added an ERRORS section, which documents ERANGE, among
others.  I also noted that this error is not in POSIX.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to