From 4f49334318179201e56b62e065d39b7e38485fab Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 17 Jan 2018 11:59:59 +0100 Subject: 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. --- libmpv/client.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libmpv') 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 * --------------------- -- cgit v1.2.3