mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
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.
9.5 KiB
9.5 KiB