AVR C Runtime Library - Bugs: bug #9704, suggested putc() behavior breaks...
You are not allowed to post comments on this tracker with your current authentication level.
bug #9704: suggested putc() behavior breaks binary transfer
Submitter: | None | ||
Submitted: | Tue 20 Jul 2004 04:06:38 PM UTC | ||
Category: | Documentation | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | None |
Status: | Fixed | Assigned to: | joerg_wunsch |
Percent Complete: | 0% | Originator Email: | -email is unavailable- |
Open/Closed: | Closed | Release: | None |
Fixed Release: | None |
Thu 22 Jul 2004 11:13:37 AM UTC, comment #1: |
Joerg Wunsch <joerg_wunsch> |
Tue 20 Jul 2004 04:06:38 PM UTC, original submission:
The description and sample code for putc() in stdio.h suggest that the developer should replace newline characters with a carriage return followed by a newline. In embedded environments, particularly for prototyping, it is common to use RS232 to transfer binary data. A putc() implemented as suggested would break any user code that expects values to be transmitted literally.
|
Anonymous |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2004-07-22 | joerg_wunsch | Status | None | Fixed | |
Open/Closed | Open | Closed | |||
2004-07-20 | joerg_wunsch | Assigned to | None | joerg_wunsch |
Powered by Savane 3.13-02a9.
Corresponding source code
A better description has been added to rev 1.15 of
include/stdio.h (and rev. 1.11.2.4 as well).
Note that the updated documentation will only be reflected
on the web site once a new avr-libc release has been rolled,
as it always shows the docs for the most recent `stable'
release.