This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Limit buffer size for _write() and _read()
- From: Gaute Nilsson <gaute dot nilsson at gmail dot com>
- To: newlib at sourceware dot org
- Date: Mon, 19 Nov 2018 15:59:16 -0500
- Subject: Limit buffer size for _write() and _read()
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