itsanjan / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

Change return type of write(), print(), and println() to size_t (int). #597

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We want to reduce the overhead of processing longs.  So just use a signed int 
for the return type and limits write to that many characters / bytes.

Original issue reported on code.google.com by dmel...@gmail.com on 25 Aug 2011 at 6:31

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 31 Aug 2011 at 7:31