summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-01-17 11:59:59 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-01-18 00:25:00 -0800
commit4f49334318179201e56b62e065d39b7e38485fab (patch)
treea5506a46dcdaa0cf2d39cf3d3a038e36e9987907 /libmpv
parent342e36ea1152ab82863522c486004f38131e88aa (diff)
downloadmpv-4f49334318179201e56b62e065d39b7e38485fab.tar.bz2
mpv-4f49334318179201e56b62e065d39b7e38485fab.tar.xz
client API: mention that SIGPIPE is sometimes blocked
ipc-unix.c does this out of convenience. Since signals are global process state, this deserves a mention, since applications could in theory rely on SIGPIPE being set to something else.
Diffstat (limited to 'libmpv')
-rw-r--r--libmpv/client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpv/client.h b/libmpv/client.h
index 41bf4e0c5c..bc2fff0563 100644
--- a/libmpv/client.h
+++ b/libmpv/client.h
@@ -136,6 +136,8 @@ extern "C" {
* - On memory exhaustion, mpv will kill the process.
* - In certain cases, mpv may start sub processes (such as with the ytdl
* wrapper script).
+ * - Using UNIX IPC (off by default) will override the SIGPIPE signal handler,
+ * and set it to SIG_IGN.
*
* Encoding of filenames
* ---------------------