Limit buffer size for _write() and _read()

Gaute Nilsson gaute.nilsson@gmail.com
Mon Nov 19 23:27:00 GMT 2018


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



More information about the Newlib mailing list