Skip to content
Snippets Groups Projects
Commit 7a4f1b00 authored by Damien George's avatar Damien George
Browse files

py/stream: Introduce MP_STREAM_GET_FILENO ioctl request.

Can be used by POSIX-like systems that associate file numbers with a file.
parent 7a67f057
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,7 @@
#define MP_STREAM_SET_OPTS (7) // Set stream options
#define MP_STREAM_GET_DATA_OPTS (8) // Get data/message options
#define MP_STREAM_SET_DATA_OPTS (9) // Set data/message options
#define MP_STREAM_GET_FILENO (10) // Get fileno of underlying file
// These poll ioctl values are compatible with Linux
#define MP_STREAM_POLL_RD (0x0001)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment