Browse Source

py/stream.h: Add MP_STREAM_POLL_NVAL constant.

pull/5254/head
Damien George 5 years ago
parent
commit
d3c383de79
  1. 9
      py/stream.h

9
py/stream.h

@ -45,10 +45,11 @@
#define MP_STREAM_GET_FILENO (10) // Get fileno of underlying file #define MP_STREAM_GET_FILENO (10) // Get fileno of underlying file
// These poll ioctl values are compatible with Linux // These poll ioctl values are compatible with Linux
#define MP_STREAM_POLL_RD (0x0001) #define MP_STREAM_POLL_RD (0x0001)
#define MP_STREAM_POLL_WR (0x0004) #define MP_STREAM_POLL_WR (0x0004)
#define MP_STREAM_POLL_ERR (0x0008) #define MP_STREAM_POLL_ERR (0x0008)
#define MP_STREAM_POLL_HUP (0x0010) #define MP_STREAM_POLL_HUP (0x0010)
#define MP_STREAM_POLL_NVAL (0x0020)
// Argument structure for MP_STREAM_SEEK // Argument structure for MP_STREAM_SEEK
struct mp_stream_seek_t { struct mp_stream_seek_t {

Loading…
Cancel
Save