diff options
| author | Damien George <damien.p.george@gmail.com> | 2020-04-20 23:57:13 +1000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2020-04-27 23:58:46 +1000 |
| commit | bd6ca15444b9bdb8330b45433a848838fa3f2ddb (patch) | |
| tree | 20cf8947958cb558987d7e31a10e704e06f63932 /tests/extmod/btree_error.py | |
| parent | e08ca78f40bb1948acffa60c0315083acfb02227 (diff) | |
py/modio: Allow uio.IOBase streams to return errno for read/write error.
This allows user code that inherits from uio.IOBase to return an errno
error code from the user readinto/write function, by returning a negative
value. Eg returning -123 means an errno of 123. This is already how the
custom ioctl works.
Diffstat (limited to 'tests/extmod/btree_error.py')
0 files changed, 0 insertions, 0 deletions
