kopia lustrzana https://github.com/micropython/micropython
py/stream: Add MP_STREAM_INIT_READER ioctl value.
Signed-off-by: Damien George <damien@micropython.org>pull/8381/head
rodzic
22f3f683a6
commit
b7030fa1b8
|
@ -44,6 +44,7 @@
|
|||
#define MP_STREAM_SET_DATA_OPTS (9) // Set data/message options
|
||||
#define MP_STREAM_GET_FILENO (10) // Get fileno of underlying file
|
||||
#define MP_STREAM_GET_BUFFER_SIZE (11) // Get preferred buffer size for file
|
||||
#define MP_STREAM_INIT_READER (12) // Initialise a mp_reader_t for this stream
|
||||
|
||||
// These poll ioctl values are compatible with Linux
|
||||
#define MP_STREAM_POLL_RD (0x0001)
|
||||
|
|
Ładowanie…
Reference in New Issue