Limit buffer size for _write() and _read()
Gaute Nilsson <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <CAOuW_446UtrvQgk_JJxnJTWaE6MxyUX1UGtK2gQ1mp1uLyv4Ew@mail.gmail.com> |
Hi, Is it possible to set the maximum buffer size that newlib uses when calling _read() or write()? My implementation of _read() and _write() can handle a maximum data size of 2048, and it would be nice to specifiy this as a limit in newlib, instead of creating a workaround in my implementation. Gaute