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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.