summaryrefslogtreecommitdiffstats
path: root/osdep/io.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-29 23:56:56 +0200
committerwm4 <wm4@nowhere>2014-05-30 02:16:20 +0200
commitec18df84661189b11e426eefd999348b9e60c16a (patch)
tree8190ad73e1d66632ea4f64b7c7fa96512352fb06 /osdep/io.h
parent5929dc458f46f75648af1ee7a293e899e67d8e66 (diff)
downloadmpv-ec18df84661189b11e426eefd999348b9e60c16a.tar.bz2
mpv-ec18df84661189b11e426eefd999348b9e60c16a.tar.xz
input: separate wakeup pipe creation into a separate function
Error handling is slightly reduced: we assume that setting a pipe to non-blocking can never fail.
Diffstat (limited to 'osdep/io.h')
-rw-r--r--osdep/io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/osdep/io.h b/osdep/io.h
index 53097a1b78..306e2ac6ec 100644
--- a/osdep/io.h
+++ b/osdep/io.h
@@ -44,6 +44,7 @@
#endif
bool mp_set_cloexec(int fd);
+int mp_make_wakeup_pipe(int pipes[2]);
#ifdef _WIN32
#include <wchar.h>