This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
redboot gets null termination
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Gary Thomas <gary at chez-thomas dot org>, eCos Disuss <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 31 Oct 2002 14:31:28 +0100
- Subject: [ECOS] redboot gets null termination
Hi Gary
Does the _rb_gets() function always null terminate the buffer? Im
thinking more about the buffer full condition rather than the normal
CRLF exit from the function. It just seems to exit when the buffer is
full without putting on a trailing \0.
Thanks
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss