avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] snprintf, but no vsnprintf? Or "crosstalk" between stream


From: Mike Panetta
Subject: [avr-libc-dev] snprintf, but no vsnprintf? Or "crosstalk" between streams.
Date: 11 Nov 2003 17:25:47 -0500

Hopefully this message is on topic...  I origionally posted it to the
avr list at avr1.org.

-----Forwarded Message-----

> From: Mike Panetta <address@hidden>
> To: AVR GCC List <address@hidden>
> Subject: [Fwd: snprintf, but no vsnprintf?]
> Date: 11 Nov 2003 16:53:09 -0500
> 
> Update on this message.  Since I tried to send this yesterday, I have
> tried implementing the functions using the fdevopen and vfprintf(_P)
> interfaces, with pretty good success.  The only problem I am having at
> the moment is when I use my printf function to print to the display, it
> also prints to the serial port (I am using the serial port to debug and
> its open with an initial fdevopen, and attached to stdin, out, and
> err).  When I print to the serial port it does not go to the LCD
> however.
> 
> Anyone here used fdevopen to open devices associated with streams other
> then stdin stdout, and stderr?
> 
> Thanks,
> Mike
> 
> -- 
> Mike Panetta <address@hidden>
> ----
> 

> From: Mike Panetta <address@hidden>
> To: AVR GCC List <address@hidden>
> Subject: snprintf, but no vsnprintf?
> Date: 10 Nov 2003 16:56:33 -0500
> 
> I am trying to write a function that will let me "printf" to an
> LCD at a particular x, y location and I was going to use the vsnprintf
> function to help me do this but it does not seem to exist.  Has anyone
> written a similar function that I could get an idea from, or is there a
> newer libc with vsnprintf functionality?
> 
> Thanks,
> Mike
> 
> -- 
> Mike Panetta <address@hidden>
-- 
Mike Panetta <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]