This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CYGPKG_LIBC_STDIO_FILEIO requiresCYGSEM_LIBC_STDIO_DYNAMIC_SETVBUF


Andrew Lunn <andrew@lunn.ch> writes:

> On Wed, Dec 08, 2004 at 03:26:29PM +0100, Daniel N?ri wrote:
>>        Hi,
>> 
>> The FILEIO variant of vsnprintf fails if the
>> CYGSEM_LIBC_STDIO_DYNAMIC_SETVBUF option is disabled.
>
> Please could you explain how it fails. What happens?

It gives the empty string as result.

Note that Cyg_StdioStreamBuffer::set_buffer returns EINVAL in this
case, and the buffer pointer passed to the Cyg_StdioStream constructor
will not be used.

Regards
   --Daniel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]