This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]